wok annotate xorg-libXss/receipt @ rev 15626
pcmanfm-legacy: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Dec 08 16:48:16 2013 +0000 (2013-12-08) |
parents | b6881a06e49a |
children | 9412b690444b |
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@15579 | 8 LICENSE="MIT" |
pascal@435 | 9 SOURCE="libXScrnSaver" |
gokhlayeh@6993 | 10 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pascal@435 | 11 WEB_SITE="http://www.x.org/" |
pascal@435 | 12 WGET_URL="$XORG_MIRROR/lib/$TARBALL" |
pascal@435 | 13 |
pascal@15579 | 14 DEPENDS="xorg-libXext" |
pascal@15579 | 15 BUILD_DEPENDS="xorg-scrnsaverproto" |
pascal@15579 | 16 |
pascal@435 | 17 # Rules to configure and make the package. |
pascal@435 | 18 compile_rules() |
pascal@435 | 19 { |
pascal@435 | 20 cd $src |
pascal@435 | 21 ./configure --prefix=/usr --sysconfdir=/etc \ |
pascal@435 | 22 --mandir=/usr/share/man --localstatedir=/var \ |
pascal@435 | 23 $CONFIGURE_ARGS |
pascal@435 | 24 make |
pascal@15579 | 25 make DESTDIR=$DESTDIR install |
pascal@435 | 26 } |
pascal@435 | 27 |
pascal@435 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@435 | 29 genpkg_rules() |
pascal@435 | 30 { |
pascal@435 | 31 mkdir -p $fs/usr/lib |
pascal@15579 | 32 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@435 | 33 } |