wok annotate glade3/receipt @ rev 3161
wxWidgets: Remove dep on libiconv (build without)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 24 23:25:20 2009 +0200 (2009-05-24) |
parents | 8c3c15a3a2e8 |
children | 7f0ee1397757 |
rev | line source |
---|---|
pankso@615 | 1 # SliTaz package receipt. |
pankso@615 | 2 |
pankso@615 | 3 PACKAGE="glade3" |
pankso@864 | 4 VERSION="3.4.5" |
pascal@741 | 5 CATEGORY="development" |
pankso@615 | 6 SHORT_DESC="Vector drawing application." |
pankso@615 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@2516 | 8 DEPENDS="gtk+ libglade xorg-libXdamage" |
pascal@1526 | 9 BUILD_DEPENDS="gtk+-dev libglade-dev" |
pankso@615 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@615 | 11 WEB_SITE="http://glade.gnome.org/" |
pankso@615 | 12 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/glade3/3.4/$TARBALL" |
pankso@615 | 13 |
pankso@615 | 14 # Rules to configure and make the package. |
pankso@615 | 15 compile_rules() |
pankso@615 | 16 { |
pankso@615 | 17 cd $src |
pankso@615 | 18 ./configure \ |
pankso@615 | 19 --prefix=/usr \ |
pankso@615 | 20 --with-html-dir=/usr/share/doc \ |
pascal@1526 | 21 --disable-scrollkeeper \ |
pascal@1514 | 22 $CONFIGURE_ARGS && |
pascal@1514 | 23 make && |
pankso@615 | 24 make DESTDIR=$PWD/_pkg install |
pankso@615 | 25 } |
pankso@615 | 26 |
pankso@615 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@615 | 28 genpkg_rules() |
pankso@615 | 29 { |
pankso@615 | 30 mkdir -p $fs/usr/lib $fs/usr/share/pixmaps |
pankso@615 | 31 cp -a $_pkg/usr/bin $fs/usr |
pankso@615 | 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@615 | 33 cp -a $_pkg/usr/lib/glade3 $fs/usr/lib |
pankso@615 | 34 rm $fs/usr/lib/glade3/modules/*.*a |
pankso@615 | 35 cp -a $_pkg/usr/share/icons/hicolor/24x24/apps/* \ |
pankso@615 | 36 $fs/usr/share/pixmaps |
pankso@615 | 37 cp -a $_pkg/usr/share/glade3 $fs/usr/share |
pankso@615 | 38 } |
pankso@615 | 39 |