wok-current annotate xorg-trapproto/receipt @ rev 15185
linux-source: add mirror src fallback
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 23 18:59:48 2013 +0000 (2013-08-23) |
parents | 919b102812ab |
children | 3af9c976b7d4 |
rev | line source |
---|---|
pankso@87 | 1 # SliTaz package receipt. |
pankso@87 | 2 |
pankso@87 | 3 PACKAGE="xorg-trapproto" |
pankso@87 | 4 VERSION="3.4.3" |
pankso@200 | 5 CATEGORY="development" |
al@14604 | 6 SHORT_DESC="Trap extension headers" |
pankso@87 | 7 MAINTAINER="pankso@slitaz.org" |
al@14604 | 8 LICENSE="other" |
pankso@87 | 9 WEB_SITE="http://www.x.org/" |
slaxemulator@14639 | 10 SOURCE="trapproto" |
slaxemulator@14639 | 11 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pankso@87 | 12 WGET_URL="$XORG_MIRROR/proto/$TARBALL" |
pankso@87 | 13 |
al@14636 | 14 DEPENDS="xorg-server-dev xorg-libXt-dev" |
al@14604 | 15 BUILD_DEPENDS="xorg-util-macros" |
al@14604 | 16 |
pankso@87 | 17 # Rules to configure and make the package. |
pankso@87 | 18 compile_rules() |
pankso@87 | 19 { |
al@14604 | 20 ./configure \ |
al@14604 | 21 --sysconfdir=/etc \ |
al@14604 | 22 --localstatedir=/var \ |
al@14604 | 23 $CONFIGURE_ARGS && |
al@14604 | 24 make && |
al@14604 | 25 make install |
pankso@87 | 26 } |
pankso@87 | 27 |
pankso@87 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@87 | 29 genpkg_rules() |
pankso@87 | 30 { |
al@14604 | 31 mkdir -p $fs/usr/share/licenses |
al@14604 | 32 cp -a $src/COPYING $fs/usr/share/licenses/$PACKAGE.txt |
al@14604 | 33 |
al@14604 | 34 cp -a $install/* $fs |
pankso@87 | 35 } |