wok-6.x annotate xorg-libXrandr/receipt @ rev 15799
fail2ban: update WGET_URL
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jan 19 16:07:24 2014 +0000 (2014-01-19) |
parents | 347dd368a084 |
children | cf41f989b6d2 |
rev | line source |
---|---|
pankso@20 | 1 # SliTaz package receipt. |
pankso@20 | 2 |
pankso@20 | 3 PACKAGE="xorg-libXrandr" |
pascal@14568 | 4 VERSION="1.4.1" |
pankso@20 | 5 CATEGORY="x-window" |
pankso@20 | 6 SHORT_DESC="Xorg server module." |
pankso@20 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15579 | 8 LICENSE="MIT" |
pankso@20 | 9 SOURCE="libXrandr" |
gokhlayeh@6993 | 10 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pankso@20 | 11 WEB_SITE="http://www.x.org/" |
pankso@20 | 12 WGET_URL="$XORG_MIRROR/lib/$TARBALL" |
pankso@10381 | 13 CROSS="bug: can not run test programm" |
pankso@20 | 14 |
pascal@15579 | 15 DEPENDS="xorg-libXext xorg-libXrender" |
pascal@15579 | 16 BUILD_DEPENDS="xorg-randrproto xorg-libXext-dev xorg-libXrender-dev" |
pascal@15579 | 17 |
pankso@20 | 18 # Rules to configure and make the package. |
pankso@20 | 19 compile_rules() |
pankso@20 | 20 { |
pankso@3012 | 21 cd $src |
pankso@3012 | 22 ./configure \ |
pankso@10381 | 23 --prefix=/usr \ |
pankso@10381 | 24 --sysconfdir=/etc \ |
pankso@10381 | 25 --localstatedir=/var \ |
pankso@10381 | 26 --build=$HOST_SYSTEM \ |
pankso@10381 | 27 --host=$HOST_SYSTEM && |
pankso@10381 | 28 make && make install |
pankso@20 | 29 } |
pankso@20 | 30 |
pankso@20 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@20 | 32 genpkg_rules() |
pankso@20 | 33 { |
pankso@20 | 34 mkdir -p $fs/usr/lib |
pascal@14568 | 35 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@20 | 36 } |