wok-6.x view xorg-dri2proto/receipt @ rev 17393
opus: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 27 16:05:28 2014 +0100 (2014-11-27) |
parents | 5ddb4d29b420 |
children | 03b2309fd335 |
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 pkg-config"
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 }