xbps-src: * ALWAYS use the static bins, to avoid breakage in the chroot. * Remove XBPS_FETCH_CMD. Use xbps-fetch (static) now that it's useful to download all distfiles in xbps-base-system. * Use busybox in the chroot and create links in /usr/local/bin at creation time. This helps to remove many packages that had problems with host/target libs (acl, attr, libarchive, etc). build templates: * Add explicit gettext and texinfo build dependencies in all packages that need them, because they aren't built anymore by xbps-base-chroot. * Fixed some packages using build_style=gnu_makefile, that were broken because pre/post_configure() is not executed for a while, they should use pre/post_build() instead. --HG-- extra : convert_revision : 0eaaf4917fd824710d0895e0c984bbc236b0cdf8
23 lines
657 B
Text
23 lines
657 B
Text
# 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()
|
|
{
|
|
mkdir -p ${DESTDIR}/usr/lib
|
|
mkdir -p ${DESTDIR}/usr/share
|
|
|
|
mv ${SRCPKGDESTDIR}/usr/bin ${DESTDIR}/usr
|
|
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
|
|
mv ${SRCPKGDESTDIR}/usr/lib/glib-2.0 ${DESTDIR}/usr/lib
|
|
mv ${SRCPKGDESTDIR}/usr/lib/*.so ${DESTDIR}/usr/lib
|
|
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
|
|
for f in man gtk-doc aclocal glib-2.0 gdb; do
|
|
mv ${SRCPKGDESTDIR}/usr/share/${f} ${DESTDIR}/usr/share
|
|
done
|
|
}
|