wok-next view glib-dev/receipt @ rev 6540

Disable chain-cook & add +build option for genpkg only
author Antoine Bodin <gokhlayeh@mailoo.org>
date Thu Oct 07 02:09:49 2010 +0200 (2010-10-07)
parents 8b121f5c3bfe
children f1b030131c7b
line source
1 # SliTaz package receipt.
3 PACKAGE="glib-dev"
4 VERSION="2.25.13"
5 CATEGORY="development"
6 SHORT_DESC="C routines devel files and utilities."
7 MAINTAINER="pankso@slitaz.org"
8 WANTED="glib"
9 DEPENDS="glib perl"
10 WEB_SITE="http://www.gtk.org/"
12 # Rules to gen a SliTaz package suitable for Tazpkg.
13 genpkg_rules()
14 {
15 mkdir -p $fs/usr/lib $fs/usr/share
16 cp -a $_pkg/usr/bin $fs/usr
17 cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
18 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
19 cp -a $_pkg/usr/lib/glib* $fs/usr/lib
20 cp -a $_pkg/usr/include $fs/usr
21 cp -a $_pkg/usr/share/aclocal $fs/usr/share
22 cp -a $_pkg/usr/share/glib-2.0 $fs/usr/share
23 # Remove libgio-dev
24 rm -rf $fs/usr/lib/libgio*.*a
25 rm -rf $fs/usr/include/gio-unix-2.0
26 rm $fs/usr/lib/pkgconfig/gio*.pc
27 }