wok-current annotate xorg-randrproto/receipt @ rev 15598
Update some bdeps with pkg-config
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Dec 05 12:49:52 2013 +0000 (2013-12-05) |
parents | 5ddb4d29b420 |
children | e68abb67e0b5 |
rev | line source |
---|---|
pankso@20 | 1 # SliTaz package receipt. |
pankso@20 | 2 |
pankso@20 | 3 PACKAGE="xorg-randrproto" |
al@14604 | 4 VERSION="1.4.0" |
pankso@211 | 5 CATEGORY="development" |
al@14604 | 6 SHORT_DESC="Randr extension headers" |
pankso@20 | 7 MAINTAINER="pankso@slitaz.org" |
al@14604 | 8 LICENSE="other" |
al@14604 | 9 WEB_SITE="http://www.x.org/" |
slaxemulator@14639 | 10 SOURCE="randrproto" |
slaxemulator@14639 | 11 TARBALL="$SOURCE-$VERSION.tar.bz2" |
al@14604 | 12 WGET_URL="$XORG_MIRROR/proto/$TARBALL" |
al@14604 | 13 |
pascal@15598 | 14 DEPENDS="xorg-renderproto pkg-config" |
gokhlayeh@7718 | 15 BUILD_DEPENDS="xorg-util-macros" |
pankso@20 | 16 |
pankso@20 | 17 # Rules to configure and make the package. |
pankso@20 | 18 compile_rules() |
pankso@20 | 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@20 | 26 } |
pankso@20 | 27 |
pankso@20 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@20 | 29 genpkg_rules() |
pankso@20 | 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 |
al@14604 | 35 rm -rf $fs/usr/share/doc |
pankso@20 | 36 } |