wok-current annotate xorg-xproto/receipt @ rev 20235
busybox: add arch (uname -m alias)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 05 15:52:59 2018 +0100 (2018-03-05) |
parents | 3af9c976b7d4 |
children | 814c58f64f83 |
rev | line source |
---|---|
pankso@20 | 1 # SliTaz package receipt. |
pankso@20 | 2 |
pankso@20 | 3 PACKAGE="xorg-xproto" |
al@14604 | 4 VERSION="7.0.24" |
pankso@200 | 5 CATEGORY="development" |
al@14604 | 6 SHORT_DESC="Xproto headers" |
pankso@20 | 7 MAINTAINER="pankso@slitaz.org" |
al@14604 | 8 LICENSE="other" |
pankso@20 | 9 WEB_SITE="http://www.x.org/" |
slaxemulator@14639 | 10 SOURCE="xproto" |
slaxemulator@14639 | 11 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pankso@20 | 12 WGET_URL="$XORG_MIRROR/proto/$TARBALL" |
pankso@15951 | 13 HOST_ARCH="i486 arm" |
pankso@20 | 14 |
pascal@15598 | 15 DEPENDS="xorg-util-macros pkg-config" |
pankso@12499 | 16 BUILD_DEPENDS="xorg-util-macros" |
pankso@12499 | 17 |
pankso@20 | 18 # Rules to configure and make the package. |
pankso@20 | 19 compile_rules() |
pankso@20 | 20 { |
pankso@12499 | 21 ./configure \ |
pankso@12499 | 22 --sysconfdir=/etc \ |
pankso@12499 | 23 --localstatedir=/var \ |
al@14604 | 24 $CONFIGURE_ARGS && |
al@14604 | 25 make && |
al@14604 | 26 make install |
pankso@20 | 27 } |
pankso@20 | 28 |
pankso@20 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@20 | 30 genpkg_rules() |
pankso@20 | 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 |
pankso@12499 | 35 cp -a $install/* $fs |
al@14604 | 36 rm -rf $fs/usr/share/doc |
pankso@20 | 37 } |