wok-next annotate xorg-libXcomposite/receipt @ rev 7046
Add checkers
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Nov 01 10:52:50 2010 +0100 (2010-11-01) |
parents | 55fede281d6c |
children | c514cc4854d8 |
rev | line source |
---|---|
pankso@87 | 1 # SliTaz package receipt. |
pankso@87 | 2 |
pankso@87 | 3 PACKAGE="xorg-libXcomposite" |
gokhlayeh@6993 | 4 VERSION="0.4.2" |
pankso@87 | 5 CATEGORY="x-window" |
pankso@87 | 6 SHORT_DESC="Xorg composite extension." |
pankso@87 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@87 | 8 SOURCE="libXcomposite" |
gokhlayeh@6993 | 9 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pascal@5008 | 10 DEPENDS="xorg-libX11 xorg-libXfixes xorg-libXext xorg-libXau xorg-libXdmcp" |
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 \ |
pascal@5008 | 20 $CONFIGURE_ARGS && |
pascal@5008 | 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 -s $fs/usr/lib/* |
pankso@87 | 31 } |