wok view cdf/receipt @ rev 12085
fpm2: Make sure /usr folder exist before copying /usr/bin folder.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Mar 09 21:47:23 2012 -0500 (2012-03-09) |
parents | 2566eb2b0dae |
children | eb8067417980 |
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 }