glib: split headers, static libs and pc files to a new subpkg "libglib-devel".

This commit is contained in:
Juan RP 2013-02-15 10:07:07 +01:00
parent 70361c4c67
commit 4113262ec1
4 changed files with 16 additions and 7 deletions

View File

@ -1,6 +1,6 @@
# Template file for 'glib-devel'.
#
depends="zlib-devel pcre-devel libffi-devel perl glib-${version}_${revision}"
depends="python perl libglib-devel-${version}_${revision}"
short_desc="${short_desc} -- development files"
pycompile_dirs="usr/lib/gdbus-2.0/codegen"
@ -15,11 +15,7 @@ do_install() {
[ "$(basename ${f})" = "glib-compile-schemas" ] && continue
mv ${f} ${DESTDIR}/usr/bin
done
vmove usr/include usr
vmove usr/lib/glib-2.0 usr/lib
vmove usr/lib/pkgconfig usr/lib
vmove usr/lib/gdbus-2.0 usr/lib
vmove "usr/lib/*.a" usr/lib
for f in gtk-doc aclocal glib-2.0 gdb; do
vmove usr/share/${f} usr/share

View File

@ -0,0 +1,12 @@
# Template file for 'libglib-devel'.
#
depends="zlib-devel pcre-devel libffi-devel glib-${version}_${revision}"
short_desc="${short_desc} -- development files"
replaces="glib-devel<2.34.3_3"
do_install() {
vmove usr/include usr
vmove usr/lib/glib-2.0 usr/lib
vmove usr/lib/pkgconfig usr/lib
vmove "usr/lib/*.a" usr/lib
}

View File

@ -1,8 +1,8 @@
# Template build file for 'glib'
pkgname=glib
version=2.34.3
revision=2
subpackages="glib-devel"
revision=3
subpackages="libglib-devel glib-devel"
build_style=gnu-configure
configure_args="--disable-fam --with-pcre=system --enable-static
--enable-man"

1
srcpkgs/libglib-devel Symbolic link
View File

@ -0,0 +1 @@
glib