wok-current annotate xorg-xprop/receipt @ rev 9113
slitaz-doc: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 05 11:34:20 2011 +0100 (2011-03-05) |
parents | b5bbe8a65b8f |
children | 78b69bcf5ca6 |
rev | line source |
---|---|
pankso@3019 | 1 # SliTaz package receipt. |
pankso@3019 | 2 |
pankso@3019 | 3 PACKAGE="xorg-xprop" |
slaxemulator@7254 | 4 VERSION="1.2.0" |
pankso@3019 | 5 CATEGORY="x-window" |
pankso@3019 | 6 SHORT_DESC="X xprop application." |
pankso@3019 | 7 MAINTAINER="pankso@slitaz.org" |
slaxemulator@8029 | 8 DEPENDS="xorg-libX11" |
slaxemulator@8029 | 9 BUILD_DEPENDS="xorg-libX11-dev" |
pankso@3019 | 10 SOURCE="xprop" |
gokhlayeh@6993 | 11 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pankso@3019 | 12 WEB_SITE="http://www.x.org/" |
pankso@3019 | 13 WGET_URL="$XORG_MIRROR/app/$TARBALL" |
pankso@3019 | 14 |
pankso@3019 | 15 # Rules to configure and make the package. |
pankso@3019 | 16 compile_rules() |
pankso@3019 | 17 { |
pankso@3019 | 18 cd $src |
pankso@3019 | 19 ./configure --prefix=/usr --mandir=/usr/share/man \ |
pankso@3019 | 20 $CONFIGURE_ARGS && |
pankso@3019 | 21 make && |
pankso@3019 | 22 make DESTDIR=$PWD/_pkg install |
pankso@3019 | 23 } |
pankso@3019 | 24 |
pankso@3019 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3019 | 26 genpkg_rules() |
pankso@3019 | 27 { |
pankso@3019 | 28 mkdir -p $fs/usr |
pankso@3019 | 29 cp -a $_pkg/usr/bin $fs/usr |
pankso@3019 | 30 } |