wok-stable view cdf/receipt @ rev 5447
linmodem-intel-536ep: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 05 13:17:38 2010 +0200 (2010-05-05) |
parents | 2566eb2b0dae |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="cdf"
4 VERSION="0.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="Colorized df (color schemes)."
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"
12 TAGS="color schemes"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
19 # Fix typos
20 sed -i 's/filesyitems/filesystems/' src/main.c
22 ./configure \
23 --prefix=/usr \
24 --infodir=/usr/share/info \
25 --mandir=/usr/share/man \
26 $CONFIGURE_ARGS &&
27 make && make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a $_pkg/usr/bin $fs/usr
35 }