wok annotate xorg-xwininfo/receipt @ rev 8615
Fix: replace exit 1 by return 1 in receipts (exit broke cook-list function)
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Mon Feb 14 19:09:46 2011 +0100 (2011-02-14) |
parents | b9212f30f7a6 |
children | 96189db539e4 |
rev | line source |
---|---|
jozee@3025 | 1 # SliTaz package receipt. |
jozee@3025 | 2 |
jozee@3025 | 3 PACKAGE="xorg-xwininfo" |
slaxemulator@7248 | 4 VERSION="1.1.1" |
jozee@3025 | 5 CATEGORY="x-window" |
jozee@3025 | 6 SHORT_DESC="window information utility to query x-server" |
jozee@3025 | 7 MAINTAINER="jozee@slitaz.org" |
jozee@3025 | 8 SOURCE="xwininfo" |
jozee@3025 | 9 TARBALL="$SOURCE-$VERSION.tar.bz2" |
slaxemulator@8029 | 10 DEPENDS="xorg-libX11" |
slaxemulator@8029 | 11 BUILD_DEPENDS="xorg-libX11-dev" |
jozee@3025 | 12 WEB_SITE="http://xorg.freedesktop.org/" |
jozee@3025 | 13 WGET_URL="$WEB_SITE/releases/individual/app/$TARBALL" |
jozee@3025 | 14 TAGS="util xorg windows" |
jozee@3025 | 15 |
jozee@3025 | 16 # Rules to configure and make the package.ls sr |
jozee@3025 | 17 compile_rules() |
jozee@3025 | 18 { |
jozee@3025 | 19 cd $src |
jozee@3025 | 20 ./configure \ |
jozee@3025 | 21 --prefix=/usr \ |
jozee@3025 | 22 --mandir=/usr/share/man \ |
jozee@3025 | 23 $CONFIGURE_ARGS && |
jozee@3025 | 24 make && |
jozee@3025 | 25 make DESTDIR=$PWD/_pkg install |
jozee@3025 | 26 } |
jozee@3025 | 27 |
jozee@3025 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@3025 | 29 genpkg_rules() |
jozee@3025 | 30 { |
jozee@3025 | 31 mkdir -p $fs/usr |
jozee@3025 | 32 cp -a $_pkg/usr/bin $fs/usr |
jozee@3025 | 33 } |
jozee@3025 | 34 |