wok-4.x annotate xorg-rgb/receipt @ rev 9469
distcc: Add init script
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Mon Apr 04 00:25:20 2011 +0200 (2011-04-04) |
parents | 0a82a5440a11 |
children |
rev | line source |
---|---|
pankso@20 | 1 # SliTaz package receipt. |
pankso@20 | 2 |
pankso@20 | 3 PACKAGE="xorg-rgb" |
gokhlayeh@6993 | 4 VERSION="1.0.4" |
pankso@20 | 5 CATEGORY="x-window" |
pankso@20 | 6 SHORT_DESC="X11 RGB colors definitions." |
pankso@20 | 7 MAINTAINER="pankso@slitaz.org" |
slaxemulator@8029 | 8 BUILD_DEPENDS="pkg-config xorg-xproto" |
pankso@20 | 9 SOURCE="rgb" |
gokhlayeh@6993 | 10 TARBALL="$SOURCE-$VERSION.tar.bz2" |
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 \ |
pascal@1450 | 20 $CONFIGURE_ARGS && |
pascal@1450 | 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 } |