wok-next annotate xorg-glproto/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 | d3f5bbca92b8 |
children | 5ddb4d29b420 |
rev | line source |
---|---|
pankso@3010 | 1 # SliTaz package receipt. |
pankso@3010 | 2 |
pankso@3010 | 3 PACKAGE="xorg-glproto" |
al@14604 | 4 VERSION="1.4.16" |
pankso@3010 | 5 CATEGORY="development" |
al@14604 | 6 SHORT_DESC="GL 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 |
al@14604 | 13 DEPENDS="xorg-xproto mesa-dev" |
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@3010 | 19 ./configure \ |
pankso@12502 | 20 --sysconfdir=/etc \ |
pankso@12502 | 21 --localstatedir=/var \ |
pankso@12502 | 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 |
al@14604 | 33 cp -a $install/* $fs |
pankso@3010 | 34 } |