wok rev 18124

Add xorg-presentproto
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jun 11 12:34:25 2015 +0200 (2015-06-11)
parents a7c4833ae3d6
children 384d929ddfd3
files xorg-presentproto/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/xorg-presentproto/receipt	Thu Jun 11 12:34:25 2015 +0200
     1.3 @@ -0,0 +1,33 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="xorg-presentproto"
     1.7 +VERSION="1.0"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="Present extension headers."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="other"
    1.12 +WEB_SITE="http://www.x.org/"
    1.13 +SOURCE="presentproto"
    1.14 +TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.15 +WGET_URL="$XORG_MIRROR/proto/$TARBALL"
    1.16 +
    1.17 +DEPENDS="xorg-util-macros pkg-config"
    1.18 +BUILD_DEPENDS="xorg-util-macros"
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	./configure \
    1.24 +		--sysconfdir=/etc \
    1.25 +		--localstatedir=/var \
    1.26 +		$CONFIGURE_ARGS &&
    1.27 +	make &&
    1.28 +	make install
    1.29 +}
    1.30 +
    1.31 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.32 +genpkg_rules()
    1.33 +{
    1.34 +	cp -a $install/* $fs
    1.35 +	rm -rf $fs/usr/share
    1.36 +}