glib, irssi, pcre: converted to subpkgs.

--HG--
extra : convert_revision : c3e0384ca9fb987a7e1b5ce93d40855dfcfbaa0e
This commit is contained in:
Juan RP 2009-02-25 17:55:24 +01:00
parent 5a435dc28f
commit 1c83b76888
11 changed files with 108 additions and 6 deletions

1
templates/glib-devel Symbolic link
View File

@ -0,0 +1 @@
glib

2
templates/glib/depends Normal file
View File

@ -0,0 +1,2 @@
abi_depends=2.18.0
api_depends=${abi_depends}

View File

@ -0,0 +1,28 @@
# Template file for 'glib-devel'.
#
short_desc="${short_desc} (development files)"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run glib
do_install()
{
local destdir=${XBPS_DESTDIR}/${pkgname}-${version}
local origdir=${XBPS_DESTDIR}/${sourcepkg}-${version}
mkdir -p ${destdir}/usr/lib
mkdir -p ${destdir}/usr/share
mv ${origdir}/usr/bin ${destdir}/usr
mv ${origdir}/usr/include ${destdir}/usr
mv ${origdir}/usr/lib/glib-2.0 ${destdir}/usr/lib
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 ${destdir}/usr/share
mv ${origdir}/usr/share/gtk-doc ${destdir}/usr/share
mv ${origdir}/usr/share/aclocal ${destdir}/usr/share
mv ${origdir}/usr/share/glib-2.0 ${destdir}/usr/share
}

View File

@ -1,5 +1,6 @@
# Template build file for 'glib'
pkgname=glib
sourcepkg=glib
version=2.18.2
distfiles="
http://ftp.gnome.org/pub/gnome/sources/glib/2.18/$pkgname-$version.tar.bz2"
@ -16,5 +17,9 @@ long_desc="
as trees, hashes, lists and strings. It is a useful general purpose
C library used by projects such as GTK+, GIMP and GNOME."
build_depends="pcre-7.8 pkg-config-0.23 gettext-0.17"
run_depends="glibc-2.8 pcre-7.8"
subpackages="devel"
Add_dependency full glibc
Add_dependency full pcre
Add_dependency build gettext
Add_dependency build pkg-config

1
templates/irssi-devel Symbolic link
View File

@ -0,0 +1 @@
irssi

View File

@ -0,0 +1,22 @@
# Template file for 'irssi-devel'.
#
short_desc="${short_desc} (development files)"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run irssi
do_install()
{
local destdir=${XBPS_DESTDIR}/${pkgname}-${version}
local origdir=${XBPS_DESTDIR}/${sourcepkg}-${version}
mkdir -p ${destdir}/usr/lib/irssi/modules
mv ${origdir}/usr/include ${destdir}/usr
mv ${origdir}/usr/lib/irssi/modules/*.*a \
${destdir}/usr/lib/irssi/modules
mv ${origdir}/usr/lib/irssi/modules/*.so \
${destdir}/usr/lib/irssi/modules
}

View File

@ -1,5 +1,6 @@
# Template build file for 'irssi'
pkgname=irssi
sourcepkg=irssi
version=0.8.12
distfiles="http://www.irssi.org/files/$pkgname-$version.tar.bz2"
# We need this to get some perl paths.
@ -17,5 +18,11 @@ long_desc="
protocols like ICQ could be created some day too."
conf_files="/etc/irssi.conf"
build_depends="glib-2.18.2 perl-5.10.0 openssl-0.9.8i ncurses-5.6"
run_depends="glibc-2.8 $build_depends"
subpackages="devel"
Add_dependency full glibc
Add_dependency full glib
Add_dependency full perl
Add_dependency full openssl
Add_dependency build ncurses
Add_dependency run ncurses-libs

1
templates/pcre-devel Symbolic link
View File

@ -0,0 +1 @@
pcre

2
templates/pcre/depends Normal file
View File

@ -0,0 +1,2 @@
abi_depends=7.8
api_depends=${abi_depends}

View 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
}

View File

@ -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