wok-6.x annotate xorg-xf86vidmodeproto/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 | 73fb2ebfd59a |
rev | line source |
---|---|
pankso@88 | 1 # SliTaz package receipt. |
pankso@88 | 2 |
pankso@88 | 3 PACKAGE="xorg-xf86vidmodeproto" |
pankso@12503 | 4 VERSION="2.3.1" |
pankso@200 | 5 CATEGORY="development" |
al@14604 | 6 SHORT_DESC="XF86VidMode extension headers" |
pankso@88 | 7 MAINTAINER="pankso@slitaz.org" |
al@14604 | 8 LICENSE="other" |
pankso@88 | 9 WEB_SITE="http://www.x.org/" |
slaxemulator@14639 | 10 SOURCE="xf86vidmodeproto" |
slaxemulator@14639 | 11 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pankso@88 | 12 WGET_URL="$XORG_MIRROR/proto/$TARBALL" |
pankso@88 | 13 |
pascal@15598 | 14 DEPENDS="xorg-xproto pkg-config" |
al@14604 | 15 BUILD_DEPENDS="xorg-util-macros" |
al@14604 | 16 |
pankso@88 | 17 # Rules to configure and make the package. |
pankso@88 | 18 compile_rules() |
pankso@88 | 19 { |
pankso@12503 | 20 ./configure \ |
pankso@12503 | 21 --sysconfdir=/etc \ |
pankso@12503 | 22 --localstatedir=/var \ |
pankso@12503 | 23 $CONFIGURE_ARGS && |
al@14604 | 24 make && |
al@14604 | 25 make install |
pankso@88 | 26 } |
pankso@88 | 27 |
pankso@88 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@88 | 29 genpkg_rules() |
pankso@88 | 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 |
pankso@12503 | 34 cp -a $install/* $fs |
pankso@88 | 35 } |