wok-next annotate goocanvas/receipt @ rev 19001
Use variables in $TARBALL
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Mar 23 11:51:37 2016 +0200 (2016-03-23) |
parents | 380ffe05937a |
children | de370e2d8541 |
rev | line source |
---|---|
slaxemulator@6907 | 1 # SliTaz package receipt. |
slaxemulator@6907 | 2 |
slaxemulator@6907 | 3 PACKAGE="goocanvas" |
devl547@11240 | 4 VERSION="1.0.0" |
slaxemulator@6907 | 5 CATEGORY="x-window" |
slaxemulator@6907 | 6 SHORT_DESC="A cairo canvas widget for GTK+" |
slaxemulator@6907 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15000 | 8 LICENSE="GPL2" |
slaxemulator@7086 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
slaxemulator@6907 | 10 WEB_SITE="http://live.gnome.org/GooCanvas" |
pascal@17869 | 11 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$TARBALL" |
slaxemulator@6907 | 12 |
pascal@15000 | 13 DEPENDS="gtk+" |
pascal@15000 | 14 BUILD_DEPENDS="gtk+-dev" |
pascal@15000 | 15 |
slaxemulator@6907 | 16 # Rules to configure and make the package. |
slaxemulator@6907 | 17 compile_rules() |
slaxemulator@6907 | 18 { |
slaxemulator@6907 | 19 ./configure \ |
slaxemulator@6907 | 20 --prefix=/usr \ |
slaxemulator@6907 | 21 --infodir=/usr/share/info \ |
slaxemulator@6907 | 22 --mandir=/usr/share/man \ |
slaxemulator@6907 | 23 $CONFIGURE_ARGS && |
pascal@15000 | 24 make && make DESTDIR=$DESTDIR install |
slaxemulator@6907 | 25 } |
slaxemulator@6907 | 26 |
slaxemulator@6907 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6907 | 28 genpkg_rules() |
slaxemulator@6907 | 29 { |
slaxemulator@6907 | 30 mkdir -p $fs/usr/lib |
pascal@15000 | 31 cp -a $install/usr/lib/*.so* $fs/usr/lib |
slaxemulator@6907 | 32 } |