wok annotate xorg-rgb/receipt @ rev 18313
Up openssh (7.1p1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 26 16:50:02 2015 +0200 (2015-08-26) |
parents | c514cc4854d8 |
children | 814c58f64f83 |
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" |
pascal@15579 | 8 LICENSE="MIT" |
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 |
pascal@15579 | 14 BUILD_DEPENDS="pkg-config xorg-xproto" |
pascal@15579 | 15 |
pankso@20 | 16 # Rules to configure and make the package. |
pankso@20 | 17 compile_rules() |
pankso@20 | 18 { |
pankso@20 | 19 cd $src |
pankso@20 | 20 ./configure --prefix=/usr --sysconfdir=/etc \ |
pankso@20 | 21 --mandir=/usr/share/man --localstatedir=/var \ |
pascal@1450 | 22 $CONFIGURE_ARGS && |
pascal@1450 | 23 make && |
pascal@15579 | 24 make DESTDIR=$DESTDIR install |
pankso@20 | 25 } |
pankso@20 | 26 |
pankso@20 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@20 | 28 genpkg_rules() |
pankso@20 | 29 { |
pankso@20 | 30 mkdir -p $fs/usr/share |
pascal@15579 | 31 cp -a $install/usr/bin $fs/usr |
pascal@15579 | 32 cp -a $install/usr/share/X11 $fs/usr/share |
pankso@20 | 33 } |