wok-next annotate xorg-dri2proto/receipt @ rev 15363

Add some licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Oct 03 09:52:57 2013 +0000 (2013-10-03)
parents a09e9d64e4c9
children 3af9c976b7d4
rev   line source
pankso@3010 1 # SliTaz package receipt.
pankso@3010 2
pankso@3010 3 PACKAGE="xorg-dri2proto"
al@14604 4 VERSION="2.8"
pankso@3010 5 CATEGORY="development"
al@14604 6 SHORT_DESC="DRI2 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="dri2proto"
slaxemulator@14639 11 TARBALL="$SOURCE-$VERSION.tar.bz2"
al@14604 12 WGET_URL="$XORG_MIRROR/proto/$TARBALL"
al@14604 13
slaxemulator@8029 14 DEPENDS="xorg-util-macros"
gokhlayeh@6993 15 BUILD_DEPENDS="xorg-util-macros"
pankso@3010 16
pankso@3010 17 # Rules to configure and make the package.
pankso@3010 18 compile_rules()
pankso@3010 19 {
pankso@12500 20 ./configure \
pankso@12500 21 --sysconfdir=/etc \
pankso@12500 22 --localstatedir=/var \
pankso@12500 23 $CONFIGURE_ARGS &&
al@14604 24 make &&
al@14604 25 make install
pankso@3010 26 }
pankso@3010 27
pankso@3010 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@3010 29 genpkg_rules()
pankso@3010 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@12500 34 cp -a $install/* $fs
al@14604 35 rm -rf $fs/usr/share/doc
pankso@3010 36 }