wok annotate elinks/receipt @ rev 15158
gmerlin: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 15 17:45:49 2013 +0000 (2013-08-15) |
parents | 7b3ec3099f3a |
children | 5e9823853920 |
rev | line source |
---|---|
allan316@3279 | 1 # SliTaz package receipt. |
allan316@3279 | 2 |
allan316@3279 | 3 PACKAGE="elinks" |
slaxemulator@7296 | 4 VERSION="0.11.7" |
allan316@3279 | 5 CATEGORY="network" |
allan316@3279 | 6 SHORT_DESC="Full featured www text browser" |
allan316@3279 | 7 MAINTAINER="allan316@gmail.com" |
pascal@15002 | 8 LICENSE="GPL2" |
allan316@3279 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
allan316@3279 | 10 WEB_SITE="http://elinks.or.cz" |
allan316@3279 | 11 WGET_URL="$WEB_SITE/download/$TARBALL" |
jozee@4935 | 12 TAGS="browser" |
allan316@3279 | 13 |
pankso@9954 | 14 DEPENDS="openssl bzip2 spidermonkey xorg-libX11 zlib libidn expat \ |
pankso@9954 | 15 xorg-libXau xorg-libXdmcp" |
pankso@9954 | 16 BUILD_DEPENDS="openssl-dev bzip2-dev spidermonkey-dev libidn-dev expat-dev \ |
pankso@9954 | 17 xorg-libXau-dev xorg-libXdmcp-dev" |
pankso@9954 | 18 |
allan316@3279 | 19 # Rules to configure and make the package. |
allan316@3279 | 20 compile_rules() |
allan316@3279 | 21 { |
allan316@3279 | 22 cd $src |
slaxemulator@10323 | 23 ./configure $CONFIGURE_ARGS && |
slaxemulator@10323 | 24 make && make DESTDIR=$DESTDIR install |
allan316@3279 | 25 } |
allan316@3279 | 26 |
allan316@3279 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@3279 | 28 genpkg_rules() |
allan316@3279 | 29 { |
allan316@3279 | 30 mkdir -p $fs/usr |
pankso@9954 | 31 cp -a $install/usr/bin $fs/usr |
allan316@3279 | 32 } |
allan316@3279 | 33 |