wok-current annotate xorg-dri2proto/receipt @ rev 14604

Xorg marathon. Day 1. (Carefully check versions, (build-)depends, pretty-print receipts)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 31 00:58:07 2013 +0000 (2013-05-31)
parents d1a13a500ec8
children 5ddb4d29b420
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/"
al@14604 10 TARBALL="${PACKAGE#xorg-}-$VERSION.tar.bz2"
al@14604 11 WGET_URL="$XORG_MIRROR/proto/$TARBALL"
al@14604 12
slaxemulator@8029 13 DEPENDS="xorg-util-macros"
gokhlayeh@6993 14 BUILD_DEPENDS="xorg-util-macros"
pankso@3010 15
pankso@3010 16 # Rules to configure and make the package.
pankso@3010 17 compile_rules()
pankso@3010 18 {
pankso@12500 19 ./configure \
pankso@12500 20 --sysconfdir=/etc \
pankso@12500 21 --localstatedir=/var \
pankso@12500 22 $CONFIGURE_ARGS &&
al@14604 23 make &&
al@14604 24 make install
pankso@3010 25 }
pankso@3010 26
pankso@3010 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@3010 28 genpkg_rules()
pankso@3010 29 {
al@14604 30 mkdir -p $fs/usr/share/licenses
al@14604 31 cp -a $src/COPYING $fs/usr/share/licenses/$PACKAGE.txt
al@14604 32
pankso@12500 33 cp -a $install/* $fs
al@14604 34 rm -rf $fs/usr/share/doc
pankso@3010 35 }