wok annotate ht/receipt @ rev 16573
slitaz-base-files: get ride of /var/run symlink in pre_install
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri May 02 19:14:33 2014 +0200 (2014-05-02) |
parents | c6ccd6bc43b1 |
children | 5d53e8ccbc8d |
rev | line source |
---|---|
pascal@4382 | 1 # SliTaz package receipt. |
pascal@4382 | 2 |
pascal@4382 | 3 PACKAGE="ht" |
pascal@4382 | 4 VERSION="2.0.17" |
pascal@4382 | 5 CATEGORY="development" |
pascal@4382 | 6 SHORT_DESC="File viewer/editor/analyser for text/binary/executable files." |
pascal@4382 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15600 | 8 LICENSE="GPL2" |
pascal@4382 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@4382 | 10 WEB_SITE="http://hte.sourceforge.net/" |
pascal@4382 | 11 WGET_URL="$SF_MIRROR/hte/$TARBALL" |
pascal@15600 | 12 TAGS="viewer editor analyser" |
pascal@15600 | 13 |
pascal@4382 | 14 DEPENDS="gcc-lib-base lzo ncurses xorg-libX11 xorg-libXau xorg-libXdmcp" |
pascal@4382 | 15 BUILD_DEPENDS="lzo-dev ncurses-dev" |
pascal@4382 | 16 |
pascal@4382 | 17 # Rules to configure and make the package. |
pascal@4382 | 18 compile_rules() |
pascal@4382 | 19 { |
pascal@4382 | 20 cd $src |
pascal@4382 | 21 chmod +x install-sh |
pascal@4382 | 22 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@4382 | 23 --mandir=/usr/share/man \ |
pascal@4382 | 24 $CONFIGURE_ARGS && |
pascal@4382 | 25 make && |
pascal@15600 | 26 make DESTDIR=$DESTDIR install |
pascal@4382 | 27 } |
pascal@4382 | 28 |
pascal@4382 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4382 | 30 genpkg_rules() |
pascal@4382 | 31 { |
pascal@15600 | 32 cp -a $install/usr $fs |
pascal@4382 | 33 } |
pascal@4382 | 34 |