glib: split headers, static libs and pc files to a new subpkg "libglib-devel".
This commit is contained in:
parent
70361c4c67
commit
4113262ec1
|
@ -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
|
||||
|
|
|
@ -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
|
||||
}
|
|
@ -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"
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
glib
|
Loading…
Reference in New Issue