wok-current view xorg-xprop/receipt @ rev 8504

gcc+gcj: remove build dir after packing files, don't exit but return
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sat Feb 12 02:18:58 2011 +0100 (2011-02-12)
parents b5bbe8a65b8f
children 78b69bcf5ca6
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xprop"
4 VERSION="1.2.0"
5 CATEGORY="x-window"
6 SHORT_DESC="X xprop application."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="xorg-libX11"
9 BUILD_DEPENDS="xorg-libX11-dev"
10 SOURCE="xprop"
11 TARBALL="$SOURCE-$VERSION.tar.bz2"
12 WEB_SITE="http://www.x.org/"
13 WGET_URL="$XORG_MIRROR/app/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --prefix=/usr --mandir=/usr/share/man \
20 $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $_pkg/usr/bin $fs/usr
30 }