wok-next annotate xorg-libXdamage/receipt @ rev 8706
libetpan: improve DEPENDS
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu Feb 17 23:18:59 2011 +0100 (2011-02-17) |
parents | 07ae722ec64e |
children | e5ae411e1d8c |
rev | line source |
---|---|
pankso@87 | 1 # SliTaz package receipt. |
pankso@87 | 2 |
pankso@87 | 3 PACKAGE="xorg-libXdamage" |
gokhlayeh@6993 | 4 VERSION="1.1.3" |
pankso@87 | 5 CATEGORY="x-window" |
pankso@87 | 6 SHORT_DESC="Xorg damage extension." |
pankso@87 | 7 MAINTAINER="pankso@slitaz.org" |
slaxemulator@8029 | 8 DEPENDS="xorg-libXfixes" |
slaxemulator@8029 | 9 BUILD_DEPENDS="pkg-config xorg-damageproto xorg-libXfixes-dev" |
pankso@87 | 10 SOURCE="libXdamage" |
gokhlayeh@6993 | 11 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pankso@87 | 12 WEB_SITE="http://www.x.org/" |
pankso@87 | 13 WGET_URL="$XORG_MIRROR/lib/$TARBALL" |
pankso@87 | 14 |
pankso@87 | 15 # Rules to configure and make the package. |
pankso@87 | 16 compile_rules() |
pankso@87 | 17 { |
pankso@3012 | 18 cd $src |
pankso@3012 | 19 ./configure \ |
pankso@3012 | 20 --prefix=/usr --sysconfdir=/etc \ |
pankso@3012 | 21 --mandir=/usr/share/man --localstatedir=/var \ |
pankso@3012 | 22 $CONFIGURE_ARGS |
pankso@3012 | 23 make |
pankso@3012 | 24 make DESTDIR=$PWD/_pkg install |
pankso@87 | 25 } |
pankso@87 | 26 |
pankso@87 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@87 | 28 genpkg_rules() |
pankso@87 | 29 { |
pankso@87 | 30 mkdir -p $fs/usr/lib |
pankso@87 | 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@87 | 32 strip -s $fs/usr/lib/* |
pankso@87 | 33 } |