wok-next annotate glib-dev/receipt @ rev 13072
Up: actionpack to 3.2.6.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Jun 25 08:33:59 2012 +0000 (2012-06-25) |
parents | c325d9f0ab7e |
children | cd7acab4c6fc |
rev | line source |
---|---|
pankso@22 | 1 # SliTaz package receipt. |
pankso@22 | 2 |
pankso@22 | 3 PACKAGE="glib-dev" |
pankso@12471 | 4 VERSION="2.32.1" |
pankso@199 | 5 CATEGORY="development" |
pankso@12471 | 6 SHORT_DESC="C routines devel files and utilities (with Python codegen)." |
pankso@22 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@22 | 8 WANTED="glib" |
pankso@22 | 9 WEB_SITE="http://www.gtk.org/" |
pankso@22 | 10 |
pankso@12540 | 11 DEPENDS="glib perl python libffi-dev libgio libgio-dev pcre-dev" |
pankso@12471 | 12 |
pankso@22 | 13 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@22 | 14 genpkg_rules() |
pankso@22 | 15 { |
pankso@12471 | 16 mkdir -p $fs/usr/lib $fs/usr/bin $fs/usr/share |
slaxemulator@10985 | 17 cp -a $install/usr/lib/*.*a $fs/usr/lib |
slaxemulator@10985 | 18 cp -a $install/usr/lib/pkgconfig $fs/usr/lib |
slaxemulator@10985 | 19 cp -a $install/usr/lib/glib* $fs/usr/lib |
slaxemulator@10985 | 20 cp -a $install/usr/include $fs/usr |
slaxemulator@10985 | 21 cp -a $install/usr/share/aclocal $fs/usr/share |
slaxemulator@10985 | 22 cp -a $install/usr/share/glib-2.0 $fs/usr/share |
pankso@12471 | 23 cp -a $install/usr/share/gdb $fs/usr/share |
pankso@12540 | 24 |
pankso@12471 | 25 # Python codegen, tester, compile, Perl mkenums |
pankso@12471 | 26 cp -a $install/usr/lib/gdbus-2.0 $fs/usr/lib |
slaxemulator@12597 | 27 for bin in gdbus-codegen gtester* glib-mkenums |
pankso@12471 | 28 do |
pankso@12471 | 29 cp -a $install/usr/bin/$bin $fs/usr/bin |
pankso@12471 | 30 done |
pankso@12540 | 31 |
pankso@842 | 32 # Remove libgio-dev |
pankso@842 | 33 rm -rf $fs/usr/lib/libgio*.*a |
pankso@842 | 34 rm -rf $fs/usr/include/gio-unix-2.0 |
pankso@842 | 35 rm $fs/usr/lib/pkgconfig/gio*.pc |
pankso@22 | 36 } |