wok annotate xorg-rgb/receipt @ rev 397
Linux: remove invalid links
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 10 14:46:29 2008 +0000 (2008-03-10) |
parents | dc2dd4d7fffb |
children | 075898aaed14 |
rev | line source |
---|---|
pankso@20 | 1 # SliTaz package receipt. |
pankso@20 | 2 |
pankso@20 | 3 PACKAGE="xorg-rgb" |
pankso@20 | 4 VERSION="1.0.1" |
pankso@20 | 5 CATEGORY="x-window" |
pankso@20 | 6 SHORT_DESC="X11 RGB colors definitions." |
pankso@20 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@20 | 8 DEPENDS="xorg" |
pankso@20 | 9 SOURCE="rgb" |
pankso@20 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pankso@20 | 11 WEB_SITE="http://www.x.org/" |
pankso@20 | 12 WGET_URL="$XORG_MIRROR/app/$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 \ |
pankso@20 | 20 $CONFIGURE_ARGS |
pankso@20 | 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/share |
pankso@20 | 29 cp -a $_pkg/usr/bin $fs/usr |
pankso@20 | 30 cp -a $_pkg/usr/share/X11 $fs/usr/share |
pankso@20 | 31 strip -s $fs/usr/bin/* |
pankso@87 | 32 |
pankso@20 | 33 # To be compatible with Xvesa from XFree86. |
pankso@87 | 34 # |
pankso@87 | 35 #mkdir -p $fs/usr/X11R6/lib/X11 |
pankso@87 | 36 #cd $fs/usr/X11R6/lib/X11 |
pankso@87 | 37 #ln -s /usr/share/X11/rgb.txt rgb.txt |
pankso@20 | 38 } |