|
Lines 2-15
Link Here
|
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpcre/libpcre-8.12.ebuild,v 1.8 2011/08/09 18:31:50 darkside Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpcre/libpcre-8.12.ebuild,v 1.8 2011/08/09 18:31:50 darkside Exp $ |
| 4 |
|
4 |
|
| 5 |
EAPI=3 |
5 |
EAPI=4 |
| 6 |
|
6 |
|
| 7 |
inherit libtool eutils toolchain-funcs |
7 |
inherit libtool eutils toolchain-funcs |
| 8 |
|
8 |
|
| 9 |
DESCRIPTION="Perl-compatible regular expression library" |
9 |
DESCRIPTION="Perl-compatible regular expression library" |
| 10 |
HOMEPAGE="http://www.pcre.org/" |
10 |
HOMEPAGE="http://www.pcre.org/" |
| 11 |
if [[ ${PV} == ${PV/_rc} ]] |
11 |
if [[ ${PV} == ${PV/_rc} ]]; then |
| 12 |
then |
|
|
| 13 |
MY_P="pcre-${PV}" |
12 |
MY_P="pcre-${PV}" |
| 14 |
# Only the final releases are available here. |
13 |
# Only the final releases are available here. |
| 15 |
SRC_URI="mirror://sourceforge/pcre/${MY_P}.tar.bz2 |
14 |
SRC_URI="mirror://sourceforge/pcre/${MY_P}.tar.bz2 |
|
Lines 20-26
Link Here
|
| 20 |
fi |
19 |
fi |
| 21 |
LICENSE="BSD" |
20 |
LICENSE="BSD" |
| 22 |
SLOT="3" |
21 |
SLOT="3" |
| 23 |
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
22 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
| 24 |
IUSE="bzip2 +cxx unicode zlib static-libs +recursion-limit" |
23 |
IUSE="bzip2 +cxx unicode zlib static-libs +recursion-limit" |
| 25 |
|
24 |
|
| 26 |
RDEPEND="bzip2? ( app-arch/bzip2 ) |
25 |
RDEPEND="bzip2? ( app-arch/bzip2 ) |
|
Lines 50-56
Link Here
|
| 50 |
} |
49 |
} |
| 51 |
|
50 |
|
| 52 |
src_install() { |
51 |
src_install() { |
| 53 |
emake DESTDIR="${D}" install || die "make install failed" |
52 |
emake DESTDIR="${D}" install |
| 54 |
gen_usr_ldscript -a pcre |
53 |
gen_usr_ldscript -a pcre |
| 55 |
find "${D}" -type f -name '*.la' -exec rm -rf '{}' '+' || die "la removal failed" |
54 |
find "${D}" -type f -name '*.la' -exec rm -rf '{}' '+' || die "la removal failed" |
| 56 |
} |
55 |
} |