wok-stable annotate xorg-libXss/receipt @ rev 8169
imported patch toolchain/autoconf.patch
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Thu Jan 27 00:20:49 2011 +0100 (2011-01-27) |
parents | 8b7d7c131d5f |
children | b6881a06e49a |
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" |
pascal@435 | 8 DEPENDS="xorg" |
slaxemulator@8029 | 9 BUILD_DEPENDS="pkg-config xorg-libXext-dev 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 } |