wok-next annotate xorg-dri2proto/receipt @ rev 18481

bash: post_install() not [ fails ] when you refuse to make bash default
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Oct 08 04:06:36 2015 +0300 (2015-10-08)
parents 5ddb4d29b420
children 03b2309fd335
rev   line source
pankso@3010 1 # SliTaz package receipt.
pankso@3010 2
pankso@3010 3 PACKAGE="xorg-dri2proto"
al@14604 4 VERSION="2.8"
pankso@3010 5 CATEGORY="development"
al@14604 6 SHORT_DESC="DRI2 extension headers"
pankso@3010 7 MAINTAINER="pankso@slitaz.org"
al@14604 8 LICENSE="other"
al@14604 9 WEB_SITE="http://www.x.org/"
slaxemulator@14639 10 SOURCE="dri2proto"
slaxemulator@14639 11 TARBALL="$SOURCE-$VERSION.tar.bz2"
al@14604 12 WGET_URL="$XORG_MIRROR/proto/$TARBALL"
al@14604 13
pascal@15598 14 DEPENDS="xorg-util-macros pkg-config"
gokhlayeh@6993 15 BUILD_DEPENDS="xorg-util-macros"
pankso@3010 16
pankso@3010 17 # Rules to configure and make the package.
pankso@3010 18 compile_rules()
pankso@3010 19 {
pankso@12500 20 ./configure \
pankso@12500 21 --sysconfdir=/etc \
pankso@12500 22 --localstatedir=/var \
pankso@12500 23 $CONFIGURE_ARGS &&
al@14604 24 make &&
al@14604 25 make install
pankso@3010 26 }
pankso@3010 27
pankso@3010 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@3010 29 genpkg_rules()
pankso@3010 30 {
al@14604 31 mkdir -p $fs/usr/share/licenses
al@14604 32 cp -a $src/COPYING $fs/usr/share/licenses/$PACKAGE.txt
al@14604 33
pankso@12500 34 cp -a $install/* $fs
al@14604 35 rm -rf $fs/usr/share/doc
pankso@3010 36 }