wok-next annotate xorg-dri3proto/receipt @ rev 18655
Add pypar2
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 02 20:45:37 2015 +0100 (2015-12-02) |
parents | |
children | 03b2309fd335 |
rev | line source |
---|---|
pascal@18123 | 1 # SliTaz package receipt. |
pascal@18123 | 2 |
pascal@18123 | 3 PACKAGE="xorg-dri3proto" |
pascal@18123 | 4 VERSION="1.0" |
pascal@18123 | 5 CATEGORY="development" |
pascal@18123 | 6 SHORT_DESC="DRI3 extension headers" |
pascal@18123 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@18123 | 8 LICENSE="other" |
pascal@18123 | 9 WEB_SITE="http://www.x.org/" |
pascal@18123 | 10 SOURCE="dri3proto" |
pascal@18123 | 11 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pascal@18123 | 12 WGET_URL="$XORG_MIRROR/proto/$TARBALL" |
pascal@18123 | 13 |
pascal@18123 | 14 DEPENDS="xorg-util-macros pkg-config" |
pascal@18123 | 15 BUILD_DEPENDS="xorg-util-macros" |
pascal@18123 | 16 |
pascal@18123 | 17 # Rules to configure and make the package. |
pascal@18123 | 18 compile_rules() |
pascal@18123 | 19 { |
pascal@18123 | 20 ./configure \ |
pascal@18123 | 21 --sysconfdir=/etc \ |
pascal@18123 | 22 --localstatedir=/var \ |
pascal@18123 | 23 $CONFIGURE_ARGS && |
pascal@18123 | 24 make && |
pascal@18123 | 25 make install |
pascal@18123 | 26 } |
pascal@18123 | 27 |
pascal@18123 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18123 | 29 genpkg_rules() |
pascal@18123 | 30 { |
pascal@18123 | 31 cp -a $install/* $fs |
pascal@18123 | 32 rm -rf $fs/usr/share |
pascal@18123 | 33 } |