wok annotate glib-dev/receipt @ rev 9287

xfsprogs: partial workaround for compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Mar 16 18:30:53 2011 +0100 (2011-03-16)
parents f1b030131c7b
children dbee7d9a3ad7
rev   line source
pankso@22 1 # SliTaz package receipt.
pankso@22 2
pankso@22 3 PACKAGE="glib-dev"
slaxemulator@7261 4 VERSION="2.26.1"
pankso@199 5 CATEGORY="development"
pankso@22 6 SHORT_DESC="C routines devel files and utilities."
pankso@22 7 MAINTAINER="pankso@slitaz.org"
pankso@22 8 WANTED="glib"
slaxemulator@6483 9 DEPENDS="glib perl"
pankso@22 10 WEB_SITE="http://www.gtk.org/"
pankso@22 11
pankso@22 12 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@22 13 genpkg_rules()
pankso@22 14 {
pankso@842 15 mkdir -p $fs/usr/lib $fs/usr/share
pankso@842 16 cp -a $_pkg/usr/bin $fs/usr
pankso@842 17 cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
pankso@842 18 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
pankso@842 19 cp -a $_pkg/usr/lib/glib* $fs/usr/lib
pankso@842 20 cp -a $_pkg/usr/include $fs/usr
pankso@842 21 cp -a $_pkg/usr/share/aclocal $fs/usr/share
pankso@842 22 cp -a $_pkg/usr/share/glib-2.0 $fs/usr/share
pankso@842 23 # Remove libgio-dev
pankso@842 24 rm -rf $fs/usr/lib/libgio*.*a
pankso@842 25 rm -rf $fs/usr/include/gio-unix-2.0
pankso@842 26 rm $fs/usr/lib/pkgconfig/gio*.pc
pankso@22 27 }