wok-6.x annotate xorg-libXrandr/receipt @ rev 13360
Add redshift
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 12 10:58:59 2012 +0200 (2012-09-12) |
parents | 82d256ad6af1 |
children | 1916b7d701ea |
rev | line source |
---|---|
pankso@20 | 1 # SliTaz package receipt. |
pankso@20 | 2 |
pankso@20 | 3 PACKAGE="xorg-libXrandr" |
pankso@5294 | 4 VERSION="1.3.0" |
pankso@20 | 5 CATEGORY="x-window" |
pankso@20 | 6 SHORT_DESC="Xorg server module." |
pankso@20 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@20 | 8 SOURCE="libXrandr" |
gokhlayeh@6993 | 9 TARBALL="$SOURCE-$VERSION.tar.bz2" |
slaxemulator@8029 | 10 DEPENDS="xorg-libXext xorg-libXrender" |
gokhlayeh@8336 | 11 BUILD_DEPENDS="xorg-randrproto" |
pankso@20 | 12 WEB_SITE="http://www.x.org/" |
pankso@20 | 13 WGET_URL="$XORG_MIRROR/lib/$TARBALL" |
pankso@10381 | 14 CROSS="bug: can not run test programm" |
pankso@20 | 15 |
pankso@20 | 16 # Rules to configure and make the package. |
pankso@20 | 17 compile_rules() |
pankso@20 | 18 { |
pankso@3012 | 19 cd $src |
pankso@3012 | 20 ./configure \ |
pankso@10381 | 21 --prefix=/usr \ |
pankso@10381 | 22 --sysconfdir=/etc \ |
pankso@10381 | 23 --localstatedir=/var \ |
pankso@10381 | 24 --build=$HOST_SYSTEM \ |
pankso@10381 | 25 --host=$HOST_SYSTEM && |
pankso@10381 | 26 make && make install |
pankso@20 | 27 } |
pankso@20 | 28 |
pankso@20 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@20 | 30 genpkg_rules() |
pankso@20 | 31 { |
pankso@20 | 32 mkdir -p $fs/usr/lib |
pankso@20 | 33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@20 | 34 } |