wok-6.x annotate xorg-libSM/receipt @ rev 3576
tint2: update VERSION, BUILD_DEPENDS, add CONFIG_FILES
author | Liu Peng <rocky@slitaz.org> |
---|---|
date | Fri Jun 26 06:50:57 2009 +0000 (2009-06-26) |
parents | 075898aaed14 |
children | 0588160a6878 |
rev | line source |
---|---|
pankso@20 | 1 # SliTaz package receipt. |
pankso@20 | 2 |
pankso@20 | 3 PACKAGE="xorg-libSM" |
pankso@3012 | 4 VERSION="1.1.0" |
pankso@20 | 5 CATEGORY="x-window" |
pankso@20 | 6 SHORT_DESC="Xorg server module." |
pankso@20 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@20 | 8 SOURCE="libSM" |
pankso@3012 | 9 DEPENDS="libuuid" |
pankso@3012 | 10 BUILD_DEPENDS="e2fsprogs-dev" |
pankso@20 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pankso@20 | 12 WEB_SITE="http://www.x.org/" |
pankso@20 | 13 WGET_URL="$XORG_MIRROR/lib/$TARBALL" |
pankso@20 | 14 |
pankso@20 | 15 # Rules to configure and make the package. |
pankso@20 | 16 compile_rules() |
pankso@20 | 17 { |
pankso@3012 | 18 cd $src |
pankso@3012 | 19 ./configure \ |
pankso@3012 | 20 --prefix=/usr \ |
pankso@3012 | 21 --sysconfdir=/etc \ |
pankso@3012 | 22 --mandir=/usr/share/man \ |
pankso@3012 | 23 --localstatedir=/var \ |
pankso@3012 | 24 $CONFIGURE_ARGS && |
pankso@3012 | 25 make && |
pankso@3012 | 26 make DESTDIR=$PWD/_pkg install |
pankso@20 | 27 } |
pankso@20 | 28 |
pankso@20 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@20 | 30 genpkg_rules() |
pankso@20 | 31 { |
pankso@20 | 32 mkdir -p $fs/usr/lib |
pankso@3012 | 33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@20 | 34 } |