wok-next annotate shellinabox/receipt @ rev 14923
Up: firefox-langpack-zh_CN (17.0.7esr)
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Tue Aug 06 01:29:03 2013 +0000 (2013-08-06) |
parents | f3ab8f13c211 |
children | 164fcaca1cd0 |
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@8254 | 19 ./configure --prefix=/usr \ |
pascal@8253 | 20 --mandir=/usr/share/man \ |
pascal@8253 | 21 $CONFIGURE_ARGS && |
pascal@8253 | 22 make && |
pascal@8253 | 23 make DESTDIR=$PWD/_pkg install |
pascal@8253 | 24 } |
pascal@8253 | 25 |
pascal@8253 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@8253 | 27 genpkg_rules() |
pascal@8253 | 28 { |
pascal@8253 | 29 mkdir -p $fs/usr/bin |
pascal@8253 | 30 cp -a $_pkg/usr/bin $fs/usr |
pascal@8253 | 31 } |