wok-6.x annotate cdf/receipt @ rev 3213

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