wok annotate gtk+-dev/receipt @ rev 9099

boxbackup-*: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 04 22:16:34 2011 +0100 (2011-03-04)
parents af4c2aec0744
children 46b226e57592
rev   line source
pankso@22 1 # SliTaz package receipt.
pankso@22 2
pankso@22 3 PACKAGE="gtk+-dev"
slaxemulator@7281 4 VERSION="2.22.1"
pankso@199 5 CATEGORY="development"
pankso@22 6 SHORT_DESC="The GIMP Toolkit."
pankso@22 7 MAINTAINER="pankso@slitaz.org"
slaxemulator@6635 8 DEPENDS="cairo-dev glib-dev pango-dev atk-dev tiff-dev pkg-config libpng-dev jpeg-dev libgio-dev gtk+ gdk-pixbuf-dev"
pankso@22 9 WANTED="gtk+"
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@22 15 mkdir -p $fs/usr/lib $fs/usr/share
pankso@22 16 cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
pankso@22 17 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
pankso@22 18 # Copy all libs and remove the shared.
pankso@22 19 cp -a $_pkg/usr/lib/gtk-2.0 $fs/usr/lib
pankso@2002 20 rm -rf $fs/usr/lib/gtk-2.0/2.10.0/*/*.so*
pankso@22 21 cp -a $_pkg/usr/include $fs/usr
pankso@22 22 cp -a $_pkg/usr/share/aclocal $fs/usr/share
slaxemulator@6673 23 cp -a $_pkg/usr/share/gir-1.0 $fs/usr/share
pankso@22 24 }