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'. # 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" short_desc="${short_desc} -- development files"
pycompile_dirs="usr/lib/gdbus-2.0/codegen" pycompile_dirs="usr/lib/gdbus-2.0/codegen"
@ -15,11 +15,7 @@ do_install() {
[ "$(basename ${f})" = "glib-compile-schemas" ] && continue [ "$(basename ${f})" = "glib-compile-schemas" ] && continue
mv ${f} ${DESTDIR}/usr/bin mv ${f} ${DESTDIR}/usr/bin
done 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/gdbus-2.0 usr/lib
vmove "usr/lib/*.a" usr/lib
for f in gtk-doc aclocal glib-2.0 gdb; do for f in gtk-doc aclocal glib-2.0 gdb; do
vmove usr/share/${f} usr/share 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' # Template build file for 'glib'
pkgname=glib pkgname=glib
version=2.34.3 version=2.34.3
revision=2 revision=3
subpackages="glib-devel" subpackages="libglib-devel glib-devel"
build_style=gnu-configure build_style=gnu-configure
configure_args="--disable-fam --with-pcre=system --enable-static configure_args="--disable-fam --with-pcre=system --enable-static
--enable-man" --enable-man"

1
srcpkgs/libglib-devel Symbolic link
View File

@ -0,0 +1 @@
glib