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 /sys-apps/miscfiles/miscfiles-1.4.2-r1.ebuild | |
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 'sys-apps/miscfiles/miscfiles-1.4.2-r1.ebuild')
-rw-r--r-- | sys-apps/miscfiles/miscfiles-1.4.2-r1.ebuild | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/sys-apps/miscfiles/miscfiles-1.4.2-r1.ebuild b/sys-apps/miscfiles/miscfiles-1.4.2-r1.ebuild new file mode 100644 index 000000000000..4527f23f7e3b --- /dev/null +++ b/sys-apps/miscfiles/miscfiles-1.4.2-r1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="3" + +inherit eutils + +UNI_PV=5.2.0 +DESCRIPTION="Miscellaneous files" +HOMEPAGE="http://savannah.gnu.org/projects/miscfiles/" +# updated unicode data file from: +# http://www.unicode.org/Public/${UNI_PV}/ucd/UnicodeData.txt +SRC_URI="mirror://gnu/miscfiles/${P}.tar.gz + mirror://gentoo/UnicodeData-${UNI_PV}.txt.bz2" + +LICENSE="GPL-2 unicode" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x86-solaris" +IUSE="minimal" +# Collides with older versions/revisions +RDEPEND="!<sys-freebsd/freebsd-share-7.2-r1" + +src_prepare() { + mv "${WORKDIR}"/UnicodeData-${UNI_PV}.txt unicode || die + epatch "${FILESDIR}"/miscfiles-1.3-Makefile.diff +} + +src_install() { + emake install prefix="${ED}/usr" || die + dodoc NEWS ORIGIN README dict-README + rm -f "${ED}"/usr/share/dict/README + + if use minimal ; then + cd "${ED}"/usr/share/dict + rm -f words extra.words + gzip -9 * + ln -s web2.gz words + ln -s web2a.gz extra.words + ln -s connectives{.gz,} + ln -s propernames{.gz,} + cd .. + rm -r misc rfc + fi +} + +pkg_postinst() { + if [[ ${ROOT} == "/" ]] && type -P create-cracklib-dict >/dev/null ; then + ebegin "Regenerating cracklib dictionary" + create-cracklib-dict "${EPREFIX}"/usr/share/dict/* > /dev/null + eend $? + fi +} |