wok view cdf/receipt @ rev 4550

fix: pkg rules
author Allan Pinto <allan316@gmail.com>
date Fri Dec 04 17:16:37 2009 +0000 (2009-12-04)
parents
children f7e96b8e3444
line source
1 # SliTaz package receipt.
3 PACKAGE="cdf"
4 VERSION="0.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="Colorized df."
7 MAINTAINER="paul@slitaz.org"
8 DEPENDS=""
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://bmp-plugins.berlios.de/misc/cdf/cdf.html"
11 WGET_URL="http://download.berlios.de/bmp-plugins/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
18 # Fix typos
19 sed -i 's/filesyitems/filesystems/' src/main.c
21 ./configure \
22 --prefix=/usr \
23 --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make && make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr
33 cp -a $_pkg/usr/bin $fs/usr
34 }