wok-next annotate xorg-xdpyinfo/receipt @ rev 15054
compiz-libcompizconfig-dev: fix genpkg-rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 12 21:12:36 2013 +0000 (2013-08-12) |
parents | 07ae722ec64e |
children | eb8067417980 |
rev | line source |
---|---|
jozee@3025 | 1 # SliTaz package receipt. |
jozee@3025 | 2 |
jozee@3025 | 3 PACKAGE="xorg-xdpyinfo" |
gokhlayeh@6993 | 4 VERSION="1.2.0" |
jozee@3025 | 5 CATEGORY="x-window" |
jozee@3025 | 6 SHORT_DESC="display information utility for X-server" |
jozee@3025 | 7 MAINTAINER="jozee@slitaz.org" |
jozee@3025 | 8 SOURCE="xdpyinfo" |
jozee@3025 | 9 TARBALL="$SOURCE-$VERSION.tar.bz2" |
slaxemulator@8029 | 10 DEPENDS="xorg-libXtst xorg-libXxf86vm xorg-libXrender \ |
pascal@5008 | 11 xorg-libXinerama xorg-libXp" |
slaxemulator@8029 | 12 BUILD_DEPENDS="xorg-libXtst-dev xorg-libXxf86vm-dev \ |
slaxemulator@8029 | 13 xorg-libXrender-dev xorg-libXinerama-dev xorg-libXp-dev" |
jozee@3025 | 14 WEB_SITE="http://xorg.freedesktop.org/" |
jozee@3025 | 15 WGET_URL="$WEB_SITE/releases/individual/app/$TARBALL" |
jozee@3025 | 16 TAGS="utility xorg display" |
jozee@3025 | 17 |
jozee@3025 | 18 # Rules to configure and make the package.ls sr |
jozee@3025 | 19 compile_rules() |
jozee@3025 | 20 { |
jozee@3025 | 21 cd $src |
jozee@3025 | 22 ./configure \ |
jozee@3025 | 23 --prefix=/usr \ |
jozee@3025 | 24 --mandir=/usr/share/man \ |
jozee@3025 | 25 $CONFIGURE_ARGS && |
jozee@3025 | 26 make && |
jozee@3025 | 27 make DESTDIR=$PWD/_pkg install |
jozee@3025 | 28 } |
jozee@3025 | 29 |
jozee@3025 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@3025 | 31 genpkg_rules() |
jozee@3025 | 32 { |
jozee@3025 | 33 mkdir -p $fs/usr |
jozee@3025 | 34 cp -a $_pkg/usr/bin $fs/usr |
jozee@3025 | 35 |
jozee@3025 | 36 } |
jozee@3025 | 37 |