wok-next annotate xorg-xineramaproto/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 | 1213813a7554 |
children | 5ddb4d29b420 |
rev | line source |
---|---|
pankso@20 | 1 # SliTaz package receipt. |
pankso@20 | 2 |
pankso@20 | 3 PACKAGE="xorg-xineramaproto" |
slaxemulator@8419 | 4 VERSION="1.2.1" |
pankso@200 | 5 CATEGORY="development" |
al@14604 | 6 SHORT_DESC="Xinerama extension headers" |
pankso@20 | 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@8420 | 13 DEPENDS="xorg-util-macros" |
slaxemulator@8420 | 14 BUILD_DEPENDS="xorg-util-macros" |
pankso@20 | 15 |
pankso@20 | 16 # Rules to configure and make the package. |
pankso@20 | 17 compile_rules() |
pankso@20 | 18 { |
al@14604 | 19 ./configure \ |
al@14604 | 20 --sysconfdir=/etc \ |
al@14604 | 21 --localstatedir=/var \ |
al@14604 | 22 $CONFIGURE_ARGS && |
al@14604 | 23 make && |
al@14604 | 24 make install |
pankso@20 | 25 } |
pankso@20 | 26 |
pankso@20 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@20 | 28 genpkg_rules() |
pankso@20 | 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@20 | 34 } |