diff options
author | Tim Harder <radhermit@gentoo.org> | 2012-03-25 23:40:22 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2012-03-25 23:40:22 +0000 |
commit | 792a6620bdf2b3328e510225eabee4140091eb5e (patch) | |
tree | 7913d12186bb2724db4ce05b675b799ccaa8e84e /dev-libs | |
parent | Update LiveVCS ebuild. (diff) | |
download | gentoo-2-792a6620bdf2b3328e510225eabee4140091eb5e.tar.gz gentoo-2-792a6620bdf2b3328e510225eabee4140091eb5e.tar.bz2 gentoo-2-792a6620bdf2b3328e510225eabee4140091eb5e.zip |
Version bump.
(Portage version: 2.2.0_alpha92/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/cdk/ChangeLog | 8 | ||||
-rw-r--r-- | dev-libs/cdk/cdk-5.0.20120323.ebuild | 49 | ||||
-rw-r--r-- | dev-libs/cdk/files/cdk-5.0.20120323-ldflags.patch | 33 |
3 files changed, 89 insertions, 1 deletions
diff --git a/dev-libs/cdk/ChangeLog b/dev-libs/cdk/ChangeLog index 1d33f24a5d7b..e6d064950e70 100644 --- a/dev-libs/cdk/ChangeLog +++ b/dev-libs/cdk/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-libs/cdk # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/cdk/ChangeLog,v 1.72 2012/02/14 23:01:56 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/cdk/ChangeLog,v 1.73 2012/03/25 23:40:22 radhermit Exp $ + +*cdk-5.0.20120323 (25 Mar 2012) + + 25 Mar 2012; Tim Harder <radhermit@gentoo.org> +cdk-5.0.20120323.ebuild, + +files/cdk-5.0.20120323-ldflags.patch: + Version bump. 14 Feb 2012; Tim Harder <radhermit@gentoo.org> metadata.xml: Add myself as maintainer. diff --git a/dev-libs/cdk/cdk-5.0.20120323.ebuild b/dev-libs/cdk/cdk-5.0.20120323.ebuild new file mode 100644 index 000000000000..f9cd17db0687 --- /dev/null +++ b/dev-libs/cdk/cdk-5.0.20120323.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/cdk/cdk-5.0.20120323.ebuild,v 1.1 2012/03/25 23:40:22 radhermit Exp $ + +EAPI=4 + +inherit eutils versionator + +MY_P="${PN}-$(replace_version_separator 2 -)" +DESCRIPTION="A library of curses widgets" +HOMEPAGE="http://dickey.his.com/cdk/cdk.html" +SRC_URI="ftp://invisible-island.net/cdk/${MY_P}.tgz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris" +IUSE="examples static-libs unicode" + +DEPEND=">=sys-libs/ncurses-5.2[unicode?]" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + epatch "${FILESDIR}"/${P}-ldflags.patch \ + "${FILESDIR}"/${PN}-5.0.20110517-makefile.patch +} + +src_configure() { + local ncursesw + use unicode && ncursesw="w" + + econf --with-ncurses${ncursesw} --with-libtool +} + +src_install() { + emake \ + DESTDIR="${ED}" \ + DOCUMENT_DIR="${ED}/usr/share/doc/${P}" install + + if use examples ; then + for x in include c++ demos examples cli cli/utils cli/samples; do + docinto $x + find $x -maxdepth 1 -mindepth 1 -type f -print0 | xargs -0 dodoc + done + fi + + use static-libs || find "${ED}" \( -name '*.a' -or -name '*.la' \) -delete +} diff --git a/dev-libs/cdk/files/cdk-5.0.20120323-ldflags.patch b/dev-libs/cdk/files/cdk-5.0.20120323-ldflags.patch new file mode 100644 index 000000000000..ec473902901c --- /dev/null +++ b/dev-libs/cdk/files/cdk-5.0.20120323-ldflags.patch @@ -0,0 +1,33 @@ +--- cdk-5.0-20120323/aclocal.m4 ++++ cdk-5.0-20120323/aclocal.m4 +@@ -2852,7 +2852,7 @@ + AC_MSG_ERROR(Cannot find libtool) + fi + ])dnl +- LIB_CREATE='${LIBTOOL} --mode=link ${CC} -rpath ${DESTDIR}${libdir} ${LIBTOOL_VERSION} `cut -f1 ${srcdir}/VERSION` ${LIBTOOL_OPTS} ${LT_UNDEF} $(LIBS) -o' ++ LIB_CREATE='${LIBTOOL} --mode=link ${CC} -rpath ${DESTDIR}${libdir} ${LIBTOOL_VERSION} `cut -f1 ${srcdir}/VERSION` ${LDFLAGS} ${LIBTOOL_OPTS} ${LT_UNDEF} $(LIBS) -o' + LIB_OBJECT='${OBJECTS:.o=.lo}' + LIB_SUFFIX=.la + LIB_CLEAN='${LIBTOOL} --mode=clean' +--- cdk-5.0-20120323/configure ++++ cdk-5.0-20120323/configure +@@ -5135,7 +5135,7 @@ + echo "$as_me: error: Cannot find libtool" >&2;} + { (exit 1); exit 1; }; } + fi +- LIB_CREATE='${LIBTOOL} --mode=link ${CC} -rpath ${DESTDIR}${libdir} ${LIBTOOL_VERSION} `cut -f1 ${srcdir}/VERSION` ${LIBTOOL_OPTS} ${LT_UNDEF} $(LIBS) -o' ++ LIB_CREATE='${LIBTOOL} --mode=link ${CC} -rpath ${DESTDIR}${libdir} ${LIBTOOL_VERSION} `cut -f1 ${srcdir}/VERSION` ${LDFLAGS} ${LIBTOOL_OPTS} ${LT_UNDEF} $(LIBS) -o' + LIB_OBJECT='${OBJECTS:.o=.lo}' + LIB_SUFFIX=.la + LIB_CLEAN='${LIBTOOL} --mode=clean' +--- cdk-5.0-20120323/Makefile.in ++++ cdk-5.0-20120323/Makefile.in +@@ -277,7 +277,7 @@ + all cdklib :: $(DEFAULT) + + $(CDKLIB) :: $(OBJECTS) +- @echo creating $@; $(LIBTOOL_CREATE) $@ $(LIB_OBJECT) ++ @echo creating $@; $(LIBTOOL_CREATE) $@ $(LIB_OBJECT) $(LIBS) + @$(RANLIB) $@ + + cdkshlib $(CDKSHLIB) :: $(CDKSHOBJS) |