wok-next view 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
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-dri2proto"
4 VERSION="2.8"
5 CATEGORY="development"
6 SHORT_DESC="DRI2 extension headers"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="other"
9 WEB_SITE="http://www.x.org/"
10 SOURCE="dri2proto"
11 TARBALL="$SOURCE-$VERSION.tar.bz2"
12 WGET_URL="$XORG_MIRROR/proto/$TARBALL"
14 DEPENDS="xorg-util-macros"
15 BUILD_DEPENDS="xorg-util-macros"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --sysconfdir=/etc \
22 --localstatedir=/var \
23 $CONFIGURE_ARGS &&
24 make &&
25 make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share/licenses
32 cp -a $src/COPYING $fs/usr/share/licenses/$PACKAGE.txt
34 cp -a $install/* $fs
35 rm -rf $fs/usr/share/doc
36 }