diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2012-06-15 08:39:17 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2012-06-15 08:39:17 +0000 |
commit | c39d1adecdd7c012685f57a14bdbd38cd67f7f57 (patch) | |
tree | 08690bd325d52e70d56b6966ab090f4a98e4e4f8 /dev-libs/libmimedir | |
parent | Use latest ff patchset (diff) | |
download | historical-c39d1adecdd7c012685f57a14bdbd38cd67f7f57.tar.gz historical-c39d1adecdd7c012685f57a14bdbd38cd67f7f57.tar.bz2 historical-c39d1adecdd7c012685f57a14bdbd38cd67f7f57.zip |
Version bump.
Package-Manager: portage-2.2.0_alpha110/cvs/Linux x86_64
Diffstat (limited to 'dev-libs/libmimedir')
-rw-r--r-- | dev-libs/libmimedir/ChangeLog | 10 | ||||
-rw-r--r-- | dev-libs/libmimedir/files/libmimedir-0.5.1-destdir.patch | 20 | ||||
-rw-r--r-- | dev-libs/libmimedir/libmimedir-0.5.1.ebuild | 43 | ||||
-rw-r--r-- | dev-libs/libmimedir/metadata.xml | 6 |
4 files changed, 72 insertions, 7 deletions
diff --git a/dev-libs/libmimedir/ChangeLog b/dev-libs/libmimedir/ChangeLog index 5fcd7c885ac6..7fa171ac3ae0 100644 --- a/dev-libs/libmimedir/ChangeLog +++ b/dev-libs/libmimedir/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-libs/libmimedir -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libmimedir/ChangeLog,v 1.9 2010/05/07 01:22:34 jer Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libmimedir/ChangeLog,v 1.10 2012/06/15 08:37:06 ssuominen Exp $ + +*libmimedir-0.5.1 (15 Jun 2012) + + 15 Jun 2012; Samuli Suominen <ssuominen@gentoo.org> +libmimedir-0.5.1.ebuild, + +files/libmimedir-0.5.1-destdir.patch: + Version bump. 07 May 2010; Jeroen Roovers <jer@gentoo.org> libmimedir-0.3.ebuild, libmimedir-0.4.ebuild: diff --git a/dev-libs/libmimedir/files/libmimedir-0.5.1-destdir.patch b/dev-libs/libmimedir/files/libmimedir-0.5.1-destdir.patch new file mode 100644 index 000000000000..19b5c66e9253 --- /dev/null +++ b/dev-libs/libmimedir/files/libmimedir-0.5.1-destdir.patch @@ -0,0 +1,20 @@ +Add DESDIR support to Makefile.in +Index: libmimedir-0.5.1/Makefile.in +=================================================================== +--- libmimedir-0.5.1.orig/Makefile.in 2009-02-03 21:29:05.000000000 -0500 ++++ libmimedir-0.5.1/Makefile.in 2009-02-03 21:31:01.000000000 -0500 +@@ -55,9 +55,11 @@ + ./test + + install: all +- ${INSTALL} -m 444 libmimedir.h ${includedir} +- ${INSTALL} -m 444 libmimedir.a ${libdir} +- $(LIBTOOL) --mode=install ${INSTALL} -c -m 444 libmimedir.la ${libdir}/libmimedir.la ++ mkdir -p ${DESTDIR}${includedir} ++ mkdir -p ${DESTDIR}${libdir} ++ ${INSTALL} -m 444 libmimedir.h ${DESTDIR}${includedir} ++ ${INSTALL} -m 444 libmimedir.a ${DESTDIR}${libdir} ++ $(LIBTOOL) --mode=install ${INSTALL} -c -m 444 libmimedir.la ${DESTDIR}${libdir} + + clean: + rm -f $(OBJS) $(LOBJS) test.o *.a *.la *.core diff --git a/dev-libs/libmimedir/libmimedir-0.5.1.ebuild b/dev-libs/libmimedir/libmimedir-0.5.1.ebuild new file mode 100644 index 000000000000..e648d7368547 --- /dev/null +++ b/dev-libs/libmimedir/libmimedir-0.5.1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libmimedir/libmimedir-0.5.1.ebuild,v 1.1 2012/06/15 08:37:06 ssuominen Exp $ + +EAPI=4 +inherit eutils + +DESCRIPTION="Library for manipulating MIME directory profiles (RFC2425)" +HOMEPAGE="http://sourceforge.net/projects/libmimedir/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="BSD-2 GPL-2" # COPYING -> BSD-2, dirsynt.* -> GPL-2 +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="static-libs" + +RDEPEND="" +DEPEND="sys-devel/bison + sys-devel/flex" + +MAKEOPTS="${MAKEOPTS} -j1" + +DOCS="ChangeLog README" + +src_prepare() { + epatch "${FILESDIR}"/${P}-destdir.patch + + if ! use static-libs; then + sed -i \ + -e '/^all/s:libmimedir.a::' \ + -e '/INSTALL.*libmimedir.a/d' \ + Makefile.in || die + fi +} + +src_configure() { + econf $(use_enable static-libs static) +} + +src_install() { + default + rm -f "${ED}"/usr/lib*/*.la +} diff --git a/dev-libs/libmimedir/metadata.xml b/dev-libs/libmimedir/metadata.xml index cd109a873f9d..228404d3a4b2 100644 --- a/dev-libs/libmimedir/metadata.xml +++ b/dev-libs/libmimedir/metadata.xml @@ -1,9 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <herd>pda</herd> - <maintainer> - <email>ssuominen@gentoo.org</email> - <name>Samuli Suominen</name> - </maintainer> +<herd>pda</herd> </pkgmetadata> |