wok annotate xorg-xwininfo/receipt @ rev 3919

linux: fix build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 18 19:22:04 2009 +0200 (2009-08-18)
parents
children 413b0174114a
rev   line source
jozee@3025 1 # SliTaz package receipt.
jozee@3025 2
jozee@3025 3 PACKAGE="xorg-xwininfo"
jozee@3025 4 VERSION="1.0.4"
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"
jozee@3025 10 DEPENDS=""
jozee@3025 11 BUILD_DEPENDS="xorg-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