wok annotate libsexy/receipt @ rev 12759
epdfview: hack compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 12 11:15:54 2012 +0200 (2012-05-12) |
parents | 2e55de4816a6 |
children | 6eff489aa802 |
rev | line source |
---|---|
pankso@877 | 1 # SliTaz package receipt. |
pankso@877 | 2 |
pankso@877 | 3 PACKAGE="libsexy" |
pankso@877 | 4 VERSION="0.1.11" |
pankso@877 | 5 CATEGORY="x-window" |
pankso@877 | 6 SHORT_DESC="Sexy widgests for GTK+." |
pankso@877 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@2518 | 8 DEPENDS="gtk+ xorg-libXdamage" |
slaxemulator@7091 | 9 BUILD_DEPENDS="pkg-config gtk+-dev xorg-xproto libxml2-dev" |
slaxemulator@7091 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@877 | 11 WEB_SITE="http://www.chipx86.com/wiki/Libsexy" |
pankso@877 | 12 WGET_URL="http://releases.chipx86.com/libsexy/libsexy/$TARBALL" |
pankso@877 | 13 |
pankso@877 | 14 # Rules to configure and make the package. |
pankso@877 | 15 compile_rules() |
pankso@877 | 16 { |
pankso@877 | 17 cd $src |
pankso@877 | 18 ./configure \ |
pankso@877 | 19 --prefix=/usr \ |
pankso@877 | 20 --mandir=/usr/share/man \ |
pascal@1481 | 21 $CONFIGURE_ARGS && |
pascal@1481 | 22 make && |
pankso@877 | 23 make DESTDIR=$PWD/_pkg install |
pankso@877 | 24 } |
pankso@877 | 25 |
pankso@877 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@877 | 27 genpkg_rules() |
pankso@877 | 28 { |
pankso@877 | 29 mkdir -p $fs/usr/lib |
pankso@877 | 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@877 | 31 } |