diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-libs/libmimedir | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-libs/libmimedir')
-rw-r--r-- | dev-libs/libmimedir/Manifest | 1 | ||||
-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 | 8 |
4 files changed, 72 insertions, 0 deletions
diff --git a/dev-libs/libmimedir/Manifest b/dev-libs/libmimedir/Manifest new file mode 100644 index 000000000000..9fd6c1a5ff26 --- /dev/null +++ b/dev-libs/libmimedir/Manifest @@ -0,0 +1 @@ +DIST libmimedir-0.5.1.tar.gz 284854 SHA256 5e809c704b56e7769fa97da2035dae3948a810d6cb925cf86cdf2fc5193052a8 SHA512 156be7b56260cb1d83ea6f9378ef2d79147c7d92bf83370edb8ef69aac7a7fff68ed262d79c4c397029297241c18b091d286e014cbdfb68962afa8222b649568 WHIRLPOOL 63b3586a71c6e959af1648474c5be57895524cd1d849d118f761d932e4eddaff3ad5b9cb9854a7e18b415ebae8d47f85175676a0e396388f319800e344aed429 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..ab20dc6b8807 --- /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 +# $Id$ + +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 new file mode 100644 index 000000000000..762857812a3c --- /dev/null +++ b/dev-libs/libmimedir/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>pda</herd> + <upstream> + <remote-id type="sourceforge">libmimedir</remote-id> + </upstream> +</pkgmetadata> |