wok annotate xorg-libxkbfile/receipt @ rev 1931
slitaz-loram: use gzip compression
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 24 17:34:33 2008 +0000 (2008-12-24) |
parents | |
children | 857621a8b6e4 |
rev | line source |
---|---|
pankso@87 | 1 # SliTaz package receipt. |
pankso@87 | 2 |
pankso@87 | 3 PACKAGE="xorg-libxkbfile" |
pankso@87 | 4 VERSION="1.0.4" |
pankso@87 | 5 CATEGORY="x-window" |
pankso@87 | 6 SHORT_DESC="Xorg server keyboard library." |
pankso@87 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@87 | 8 DEPENDS="xorg" |
pankso@87 | 9 SOURCE="libxkbfile" |
pankso@87 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pankso@87 | 11 WEB_SITE="http://www.x.org/" |
pankso@87 | 12 WGET_URL="$XORG_MIRROR/lib/$TARBALL" |
pankso@87 | 13 |
pankso@87 | 14 # Rules to configure and make the package. |
pankso@87 | 15 compile_rules() |
pankso@87 | 16 { |
pankso@87 | 17 cd $src |
pankso@87 | 18 ./configure --prefix=/usr --sysconfdir=/etc \ |
pankso@87 | 19 --mandir=/usr/share/man --localstatedir=/var \ |
pankso@87 | 20 $CONFIGURE_ARGS |
pankso@87 | 21 make |
pankso@87 | 22 make DESTDIR=$PWD/_pkg install |
pankso@87 | 23 } |
pankso@87 | 24 |
pankso@87 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@87 | 26 genpkg_rules() |
pankso@87 | 27 { |
pankso@87 | 28 mkdir -p $fs/usr/lib |
pankso@87 | 29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@87 | 30 strip $fs/usr/lib/* |
pankso@87 | 31 } |
pankso@87 | 32 |