wok annotate xorg-makedepend/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 742d18777397
children 5ddb4d29b420
rev   line source
gokhlayeh@8080 1 # SliTaz package receipt.
gokhlayeh@8080 2
gokhlayeh@8080 3 PACKAGE="xorg-makedepend"
al@14604 4 VERSION="1.0.4"
al@14604 5 CATEGORY="development"
al@14604 6 SHORT_DESC="Create dependencies in makefiles"
gokhlayeh@8080 7 MAINTAINER="gokhlayeh@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/util/$TARBALL"
al@14604 12
al@14604 13 DEPENDS="glibc-base xorg-xproto"
gokhlayeh@8080 14 BUILD_DEPENDS="xorg-xproto"
gokhlayeh@8080 15
gokhlayeh@8080 16 # Rules to configure and make the package.
gokhlayeh@8080 17 compile_rules()
gokhlayeh@8080 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
gokhlayeh@8080 25 }
gokhlayeh@8080 26
gokhlayeh@8080 27 # Rules to gen a SliTaz package suitable for Tazpkg.
gokhlayeh@8080 28 genpkg_rules()
gokhlayeh@8080 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/usr/bin $fs/usr
gokhlayeh@8080 34 }