wok-6.x annotate xorg-recordproto/receipt @ rev 15384
Add licenses
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Mon Oct 21 23:10:53 2013 +0200 (2013-10-21) |
parents | a09e9d64e4c9 |
children | 3af9c976b7d4 |
rev | line source |
---|---|
pankso@20 | 1 # SliTaz package receipt. |
pankso@20 | 2 |
pankso@20 | 3 PACKAGE="xorg-recordproto" |
pankso@12503 | 4 VERSION="1.14.2" |
pankso@211 | 5 CATEGORY="development" |
al@14604 | 6 SHORT_DESC="Record extension 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="recordproto" |
slaxemulator@14639 | 11 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pankso@20 | 12 WGET_URL="$XORG_MIRROR/proto/$TARBALL" |
pankso@20 | 13 |
pankso@12503 | 14 DEPENDS="xorg-util-macros" |
pankso@12503 | 15 BUILD_DEPENDS="xorg-util-macros" |
pankso@12503 | 16 |
pankso@20 | 17 # Rules to configure and make the package. |
pankso@20 | 18 compile_rules() |
pankso@20 | 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@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 |
pankso@12503 | 34 cp -a $install/* $fs |
al@14604 | 35 rm -rf $fs/usr/share/doc |
pankso@20 | 36 } |