wok-next annotate xorg-glproto/receipt @ rev 19246
Up slitaz-tools (996)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 29 10:23:28 2016 +0200 (2016-06-29) |
parents | 3af9c976b7d4 |
children | 9f70134dc7a7 |
rev | line source |
---|---|
pankso@3010 | 1 # SliTaz package receipt. |
pankso@3010 | 2 |
pankso@3010 | 3 PACKAGE="xorg-glproto" |
al@14604 | 4 VERSION="1.4.16" |
pankso@3010 | 5 CATEGORY="development" |
al@14604 | 6 SHORT_DESC="GL extension headers" |
pankso@3010 | 7 MAINTAINER="pankso@slitaz.org" |
al@14604 | 8 LICENSE="other" |
al@14604 | 9 WEB_SITE="http://www.x.org/" |
slaxemulator@14639 | 10 SOURCE="glproto" |
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-xproto mesa-dev pkg-config" |
gokhlayeh@6993 | 16 BUILD_DEPENDS="xorg-util-macros" |
pankso@3010 | 17 |
pankso@3010 | 18 # Rules to configure and make the package. |
pankso@3010 | 19 compile_rules() |
pankso@3010 | 20 { |
pankso@3010 | 21 ./configure \ |
pankso@12502 | 22 --sysconfdir=/etc \ |
pankso@12502 | 23 --localstatedir=/var \ |
pankso@12502 | 24 $CONFIGURE_ARGS && |
al@14604 | 25 make && |
al@14604 | 26 make install |
pankso@3010 | 27 } |
pankso@3010 | 28 |
pankso@3010 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3010 | 30 genpkg_rules() |
pankso@3010 | 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 |
pankso@3010 | 36 } |