wok-6.x annotate shellinabox/receipt @ rev 8253

Add shellinabox
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jan 29 16:06:56 2011 +0100 (2011-01-29)
parents
children 1baa4a804224
rev   line source
pascal@8253 1 # SliTaz package receipt.
pascal@8253 2
pascal@8253 3 PACKAGE="shellinabox"
pascal@8253 4 VERSION="2.10"
pascal@8253 5 CATEGORY="network"
pascal@8253 6 SHORT_DESC="Ajax web based terminal emulator."
pascal@8253 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@8253 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@8253 9 WEB_SITE="http://$PACKAGE.googlecode.com/"
pascal@8253 10 WGET_URL="${WEB_SITE}files/$TARBALL"
pascal@8253 11 DEPENDS="zlib"
pascal@8253 12 BUILD_DEPENDS="zlib-dev"
pascal@8253 13 TAGS="web application"
pascal@8253 14
pascal@8253 15 # Rules to configure and make the package.
pascal@8253 16 compile_rules()
pascal@8253 17 {
pascal@8253 18 cd $src
pascal@8253 19
pascal@8253 20 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@8253 21 --mandir=/usr/share/man \
pascal@8253 22 $CONFIGURE_ARGS &&
pascal@8253 23 make &&
pascal@8253 24 make DESTDIR=$PWD/_pkg install
pascal@8253 25 return 1
pascal@8253 26 }
pascal@8253 27
pascal@8253 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@8253 29 genpkg_rules()
pascal@8253 30 {
pascal@8253 31 mkdir -p $fs/usr/bin
pascal@8253 32 cp -a $_pkg/usr/bin $fs/usr
pascal@8253 33 }