wok-current view xorg-dri2proto/receipt @ rev 19391

memtest: tiny shrink
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 27 12:07:37 2016 +0200 (2016-08-27)
parents 3af9c976b7d4
children 814c58f64f83
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 }