glib, irssi, pcre: converted to subpkgs.
--HG-- extra : convert_revision : c3e0384ca9fb987a7e1b5ce93d40855dfcfbaa0e
This commit is contained in:
2
templates/pcre/depends
Normal file
2
templates/pcre/depends
Normal file
@@ -0,0 +1,2 @@
|
||||
abi_depends=7.8
|
||||
api_depends=${abi_depends}
|
||||
25
templates/pcre/devel.template
Normal file
25
templates/pcre/devel.template
Normal file
@@ -0,0 +1,25 @@
|
||||
# Template file for 'pcre-devel'.
|
||||
#
|
||||
short_desc="${short_desc} (development files)"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains files for development, headers, static libs, etc."
|
||||
|
||||
Add_dependency run pcre
|
||||
|
||||
do_install()
|
||||
{
|
||||
local destdir=${XBPS_DESTDIR}/${pkgname}-${version}
|
||||
local origdir=${XBPS_DESTDIR}/${sourcepkg}-${version}
|
||||
|
||||
mkdir -p ${destdir}/usr/bin
|
||||
mkdir -p ${destdir}/usr/lib
|
||||
mkdir -p ${destdir}/usr/share/man
|
||||
|
||||
mv ${origdir}/usr/bin/pcre-config ${destdir}/usr/bin
|
||||
mv ${origdir}/usr/include ${destdir}/usr
|
||||
mv ${origdir}/usr/lib/*.*a ${destdir}/usr/lib
|
||||
mv ${origdir}/usr/lib/*.so ${destdir}/usr/lib
|
||||
mv ${origdir}/usr/lib/pkgconfig ${destdir}/usr/lib
|
||||
mv ${origdir}/usr/share/man/man3 ${destdir}/usr/share/man
|
||||
}
|
||||
@@ -1,9 +1,12 @@
|
||||
# Template file for 'pcre'
|
||||
pkgname=pcre
|
||||
sourcepkg=pcre
|
||||
version=7.8
|
||||
distfiles="$SOURCEFORGE_SITE/pcre/$pkgname-$version.tar.bz2"
|
||||
build_style=gnu_configure
|
||||
configure_args="--enable-utf8 --enable-unicode-properties"
|
||||
configure_args="--enable-utf8 --enable-unicode-properties
|
||||
--enable-pcregrep-libz --enable-pcregrep-libbz2
|
||||
--enable-newline-is-anycrlf"
|
||||
short_desc="Perl Compatible Regular Expressions"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
checksum=795f3c2ae29339e633a4dac7b596d6cd4d86504befbe951c9d5ff42aca9858ff
|
||||
@@ -14,4 +17,9 @@ long_desc="
|
||||
correspond to the POSIX regular expression API. The PCRE library is free,
|
||||
even for building commercial software."
|
||||
|
||||
run_depends="glibc-2.8"
|
||||
subpackages="devel"
|
||||
|
||||
Add_dependency run gcc-libstdc++
|
||||
Add_dependency full glibc
|
||||
Add_dependency full zlib
|
||||
Add_dependency full bzip2
|
||||
|
||||
Reference in New Issue
Block a user