You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-libs/guilib/guilib-1.2.1.ebuild

41 lines
834 B

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/guilib/guilib-1.2.1.ebuild,v 1.5 2012/03/31 17:23:27 armin76 Exp $
EAPI=4
inherit autotools
MY_P=GUIlib-${PV}
DESCRIPTION="a simple widget set for SDL"
SRC_URI="http://www.libsdl.org/projects/GUIlib/src/${MY_P}.tar.gz"
HOMEPAGE="http://www.libsdl.org/projects/GUIlib/"
LICENSE="public-domain"
SLOT="0"
KEYWORDS="amd64 ~hppa ppc x86"
IUSE="static-libs"
RDEPEND=">=media-libs/libsdl-1.0.1"
DEPEND="${RDEPEND}"
S=${WORKDIR}/${MY_P}
src_prepare() {
sed -i -e '/^noinst_PROGRAMS/,$d' Makefile.am
rm -f *.m4
eautoreconf
}
src_configure() {
econf \
$(use_enable static-libs static)
}
src_install() {
default
use static-libs || find "${ED}" -name '*.la' -exec rm {} +
}