wok-6.x annotate xorg-libXcursor/receipt @ rev 7779
Up slitaz-tools-box (3.9.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Dec 23 11:06:39 2010 +0100 (2010-12-23) |
parents | 55fede281d6c |
children | c514cc4854d8 |
rev | line source |
---|---|
pankso@20 | 1 # SliTaz package receipt. |
pankso@20 | 2 |
pankso@20 | 3 PACKAGE="xorg-libXcursor" |
pankso@5294 | 4 VERSION="1.1.10" |
pankso@20 | 5 CATEGORY="x-window" |
pankso@20 | 6 SHORT_DESC="X cursors library." |
pankso@20 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@20 | 8 SOURCE="libXcursor" |
gokhlayeh@6993 | 9 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pascal@5008 | 10 DEPENDS="xorg-libXrender xorg-libXfixes xorg-libX11 xorg-libXau xorg-libXdmcp" |
pankso@20 | 11 WEB_SITE="http://www.x.org/" |
pankso@20 | 12 WGET_URL="$XORG_MIRROR/lib/$TARBALL" |
pankso@20 | 13 |
pankso@20 | 14 # Rules to configure and make the package. |
pankso@20 | 15 compile_rules() |
pankso@20 | 16 { |
pankso@20 | 17 cd $src |
pankso@20 | 18 ./configure --prefix=/usr --sysconfdir=/etc \ |
pankso@20 | 19 --mandir=/usr/share/man --localstatedir=/var \ |
pascal@5008 | 20 $CONFIGURE_ARGS && |
pascal@5008 | 21 make && |
pankso@20 | 22 make DESTDIR=$PWD/_pkg install |
pankso@20 | 23 } |
pankso@20 | 24 |
pankso@20 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@20 | 26 genpkg_rules() |
pankso@20 | 27 { |
pankso@20 | 28 mkdir -p $fs/usr/lib |
pankso@20 | 29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@20 | 30 strip -s $fs/usr/lib/* |
pankso@20 | 31 } |