wok-next annotate xorg-libXrender/receipt @ rev 8561
imported patch get/linux
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sun Feb 13 22:57:56 2011 +0100 (2011-02-13) |
parents | 07ae722ec64e |
children | e5ae411e1d8c |
rev | line source |
---|---|
pankso@20 | 1 # SliTaz package receipt. |
pankso@20 | 2 |
pankso@20 | 3 PACKAGE="xorg-libXrender" |
gokhlayeh@6993 | 4 VERSION="0.9.6" |
pankso@20 | 5 CATEGORY="x-window" |
erjo@4401 | 6 SHORT_DESC="Xorg RENDER extensions library." |
pankso@20 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@20 | 8 SOURCE="libXrender" |
gokhlayeh@6993 | 9 TARBALL="$SOURCE-$VERSION.tar.bz2" |
slaxemulator@8029 | 10 DEPENDS="xorg-libX11" |
slaxemulator@8029 | 11 BUILD_DEPENDS="xorg-libX11-dev xorg-renderproto" |
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@20 | 18 cd $src |
pankso@20 | 19 ./configure --prefix=/usr --sysconfdir=/etc \ |
pankso@20 | 20 --mandir=/usr/share/man --localstatedir=/var \ |
pascal@5008 | 21 $CONFIGURE_ARGS && |
pascal@5008 | 22 make && |
pankso@20 | 23 make DESTDIR=$PWD/_pkg install |
pankso@20 | 24 } |
pankso@20 | 25 |
pankso@20 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@20 | 27 genpkg_rules() |
pankso@20 | 28 { |
pankso@20 | 29 mkdir -p $fs/usr/lib |
pankso@20 | 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@20 | 31 strip -s $fs/usr/lib/* |
pankso@20 | 32 } |