wok-6.x annotate xorg-xtrans/receipt @ rev 10255
Add rake.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat May 21 04:00:00 2011 +0000 (2011-05-21) |
parents | 0a82a5440a11 |
children | b819c0ead351 |
rev | line source |
---|---|
pankso@20 | 1 # SliTaz package receipt. |
pankso@20 | 2 |
pankso@20 | 3 PACKAGE="xorg-xtrans" |
slaxemulator@7249 | 4 VERSION="1.2.6" |
pankso@200 | 5 CATEGORY="development" |
pankso@5297 | 6 SHORT_DESC="Xorg library to handle network protocol transport in a modular fashion." |
pankso@20 | 7 MAINTAINER="pankso@slitaz.org" |
slaxemulator@8029 | 8 DEPENDS="xorg-util-macros" |
gokhlayeh@7718 | 9 BUILD_DEPENDS="xorg-util-macros" |
pankso@20 | 10 SOURCE="xtrans" |
gokhlayeh@6993 | 11 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pankso@20 | 12 WEB_SITE="http://www.x.org/" |
pankso@20 | 13 WGET_URL="$XORG_MIRROR/lib/$TARBALL" |
pankso@20 | 14 |
pankso@20 | 15 # Rules to configure and make the package. |
pankso@20 | 16 compile_rules() |
pankso@20 | 17 { |
pankso@20 | 18 cd $src |
pankso@20 | 19 ./configure --prefix=/usr --sysconfdir=/etc \ |
pankso@20 | 20 --mandir=/usr/share/man --localstatedir=/var \ |
pankso@5297 | 21 $CONFIGURE_ARGS && |
pankso@5297 | 22 make && |
pankso@20 | 23 make DESTDIR=$PWD/_pkg install |
pankso@20 | 24 } |
pankso@20 | 25 |
pankso@20 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@20 | 27 genpkg_rules() |
pankso@20 | 28 { |
pankso@20 | 29 cp -a $_pkg/* $fs |
pankso@20 | 30 } |