wok-6.x annotate xorg-videoproto/receipt @ rev 15983
arm: add some Xorg proto pkgs and prepare pkg-config/receipt
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Mar 01 23:51:38 2014 +0100 (2014-03-01) |
parents | 3af9c976b7d4 |
children | 814c58f64f83 |
rev | line source |
---|---|
pankso@87 | 1 # SliTaz package receipt. |
pankso@87 | 2 |
pankso@87 | 3 PACKAGE="xorg-videoproto" |
gokhlayeh@6993 | 4 VERSION="2.3.1" |
pankso@200 | 5 CATEGORY="development" |
al@14604 | 6 SHORT_DESC="Video extension headers" |
pankso@87 | 7 MAINTAINER="pankso@slitaz.org" |
al@14604 | 8 LICENSE="other" |
al@14604 | 9 WEB_SITE="http://www.x.org/" |
slaxemulator@14639 | 10 SOURCE="videoproto" |
slaxemulator@14639 | 11 TARBALL="$SOURCE-$VERSION.tar.bz2" |
al@14604 | 12 WGET_URL="$XORG_MIRROR/proto/$TARBALL" |
pankso@15983 | 13 HOST_ARCH="i486 arm" |
al@14604 | 14 |
pascal@15598 | 15 DEPENDS="xorg-libX11-dev xorg-xproto pkg-config" |
gokhlayeh@6993 | 16 BUILD_DEPENDS="xorg-util-macros" |
pankso@87 | 17 |
pankso@87 | 18 # Rules to configure and make the package. |
pankso@87 | 19 compile_rules() |
pankso@87 | 20 { |
al@14604 | 21 ./configure \ |
al@14604 | 22 --sysconfdir=/etc \ |
al@14604 | 23 --localstatedir=/var \ |
al@14604 | 24 $CONFIGURE_ARGS && |
al@14604 | 25 make && |
al@14604 | 26 make install |
pankso@87 | 27 } |
pankso@87 | 28 |
pankso@87 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@87 | 30 genpkg_rules() |
pankso@87 | 31 { |
al@14604 | 32 mkdir -p $fs/usr/share/licenses |
al@14604 | 33 cp -a $src/COPYING $fs/usr/share/licenses/$PACKAGE.txt |
al@14604 | 34 |
al@14604 | 35 cp -a $install/* $fs |
al@14604 | 36 rm -rf $fs/usr/share/doc |
pankso@87 | 37 } |