wok annotate xorg-libXss/receipt @ rev 10306
vala: Add $CONFIGURE_ARGS.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat May 21 20:47:02 2011 +0000 (2011-05-21) |
parents | c514cc4854d8 |
children | eb8067417980 |
rev | line source |
---|---|
pascal@435 | 1 # SliTaz package receipt. |
pascal@435 | 2 |
pascal@435 | 3 PACKAGE="xorg-libXss" |
slaxemulator@7028 | 4 VERSION="1.2.1" |
pascal@435 | 5 CATEGORY="x-window" |
pascal@435 | 6 SHORT_DESC="Xorg screen saver module." |
pascal@435 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
gokhlayeh@8338 | 8 DEPENDS="xorg-libXext" |
gokhlayeh@8338 | 9 BUILD_DEPENDS="xorg-scrnsaverproto" |
pascal@435 | 10 SOURCE="libXScrnSaver" |
gokhlayeh@6993 | 11 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pascal@435 | 12 WEB_SITE="http://www.x.org/" |
pascal@435 | 13 WGET_URL="$XORG_MIRROR/lib/$TARBALL" |
pascal@435 | 14 |
pascal@435 | 15 # Rules to configure and make the package. |
pascal@435 | 16 compile_rules() |
pascal@435 | 17 { |
pascal@435 | 18 cd $src |
pascal@435 | 19 ./configure --prefix=/usr --sysconfdir=/etc \ |
pascal@435 | 20 --mandir=/usr/share/man --localstatedir=/var \ |
pascal@435 | 21 $CONFIGURE_ARGS |
pascal@435 | 22 make |
pascal@435 | 23 make DESTDIR=$PWD/_pkg install |
pascal@435 | 24 } |
pascal@435 | 25 |
pascal@435 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@435 | 27 genpkg_rules() |
pascal@435 | 28 { |
pascal@435 | 29 mkdir -p $fs/usr/lib |
pascal@435 | 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@435 | 31 } |