wok-6.x view clex/receipt @ rev 8504
gcc+gcj: remove build dir after packing files, don't exit but return
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sat Feb 12 02:18:58 2011 +0100 (2011-02-12) |
parents | dbe940399912 |
children | a1644dbcf632 |
line source
1 # SliTaz package receipt.
3 PACKAGE="clex"
4 VERSION="3.18"
5 CATEGORY="system-tools"
6 SHORT_DESC="Text mode file manager."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="ncurses"
9 BUILD_DEPENDS="ncurses-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.clex.sk/"
12 WGET_URL="http://www.clex.sk/download/$TARBALL"
13 TAGS="file-manager"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS
24 make
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/etc $fs/usr/bin
32 cp -a $_pkg/usr/bin/* $fs/usr/bin
33 cp -a stuff/skel $fs/etc
34 }