wok-current annotate libgnomecanvas/receipt @ rev 9802
youtube-dl: be compatible with cookutils and keep source file in source repository.
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat May 14 14:29:23 2011 +0200 (2011-05-14) |
parents | e5ae411e1d8c |
children | d018c1db28ae |
rev | line source |
---|---|
pankso@37 | 1 # SliTaz package receipt. |
pankso@37 | 2 |
pankso@37 | 3 PACKAGE="libgnomecanvas" |
slaxemulator@6734 | 4 VERSION="2.30.2" |
pankso@209 | 5 CATEGORY="x-window" |
pankso@37 | 6 SHORT_DESC="GNOME canvas library" |
pankso@37 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@37 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@37 | 9 WEB_SITE="http://www.gnome.org/" |
slaxemulator@7730 | 10 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL" |
pankso@37 | 11 |
pankso@9769 | 12 DEPENDS="gtk+ libglade libart_lgpl xorg-libXdamage xorg-libXcursor" |
pankso@9769 | 13 BUILD_DEPENDS="gtk+-dev libglade-dev libart_lgpl-dev xorg-libXcursor-dev" |
pankso@9769 | 14 |
pankso@37 | 15 # Rules to configure and make the package. |
pankso@37 | 16 compile_rules() |
pankso@37 | 17 { |
pankso@37 | 18 cd $src |
pankso@37 | 19 ./configure \ |
pankso@37 | 20 --prefix=/usr \ |
pankso@37 | 21 --infodir=/usr/share/info \ |
pankso@37 | 22 --mandir=/usr/share/man \ |
pankso@37 | 23 --with-html-dir=/usr/share/doc \ |
pascal@9125 | 24 --enable-glade \ |
pascal@2477 | 25 $CONFIGURE_ARGS && |
pascal@2477 | 26 make && |
pankso@37 | 27 make DESTDIR=$PWD/_pkg install |
pankso@37 | 28 } |
pankso@37 | 29 |
pankso@37 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@37 | 31 genpkg_rules() |
pankso@37 | 32 { |
pankso@37 | 33 mkdir -p $fs/usr/lib $fs/usr/share/locale |
pankso@37 | 34 |
pankso@37 | 35 # Copy shared libs |
pankso@37 | 36 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@37 | 37 cp -a $_pkg/usr/lib/libglade $fs/usr/lib |
pankso@37 | 38 |
pankso@37 | 39 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
pankso@37 | 40 |
pankso@37 | 41 # Remove static libs |
pankso@37 | 42 rm $fs/usr/lib/libglade/*/*.*a |
pankso@37 | 43 } |
pankso@37 | 44 |