wok annotate dmenu/receipt @ rev 8254
shellinabox: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 29 16:09:40 2011 +0100 (2011-01-29) |
parents | 74a6a43bf614 |
children | eb8067417980 |
rev | line source |
---|---|
jozee@2722 | 1 # SliTaz package receipt. |
jozee@2722 | 2 |
jozee@2722 | 3 PACKAGE="dmenu" |
slaxemulator@6361 | 4 VERSION="4.1.1" |
jozee@2722 | 5 CATEGORY="misc" |
jozee@2722 | 6 SHORT_DESC="dynamic menu lauch bar" |
jozee@2734 | 7 MAINTAINER="jozee@slitaz.org" |
pascal@2845 | 8 DEPENDS="xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXinerama" |
slaxemulator@6361 | 9 BUILD_DEPENDS="xorg-libX11-dev xorg-libXinerama-dev" |
jozee@2722 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@6361 | 11 WEB_SITE="http://tools.suckless.org/dmenu/" |
slaxemulator@6361 | 12 WGET_URL="http://dl.suckless.org/tools/$TARBALL" |
jozee@4934 | 13 TAGS="launchbar" |
jozee@2722 | 14 |
jozee@2722 | 15 # Rules to configure and make the package. |
jozee@2722 | 16 compile_rules() |
jozee@2722 | 17 { |
jozee@2722 | 18 cd $src |
pascal@2845 | 19 make && |
jozee@2722 | 20 make DESTDIR=$PWD/_pkg install |
jozee@2722 | 21 } |
jozee@2722 | 22 |
jozee@2722 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2722 | 24 genpkg_rules() |
jozee@2722 | 25 { |
jozee@2722 | 26 mkdir -p $fs/usr/bin |
jozee@2722 | 27 cp -a $_pkg/usr/local/bin/* $fs/usr/bin/ |
jozee@2722 | 28 |
jozee@2722 | 29 } |