wok view cdf/receipt @ rev 24768

libwebkit: bison 3 fix
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 19 12:46:44 2022 +0000 (2022-03-19)
parents 6e8b1bcb30e2
children 192db54e5c3d
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/novel/cdf"
11 WGET_URL="http://download.berlios.de/bmp-plugins/$TARBALL"
12 TAGS="color schemes"
14 DEPENDS=""
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://raw.githubusercontent.com/novel/cdf/master/ChangeLog 2>/dev/null | \
20 sed '/^Version /!d;s|.*ersion ||' | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
28 # Fix typos
29 sed -i 's/filesyitems/filesystems/' src/main.c
31 ./configure \
32 --prefix=/usr \
33 --infodir=/usr/share/info \
34 --mandir=/usr/share/man \
35 $CONFIGURE_ARGS &&
36 make && make DESTDIR=$DESTDIR install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr
43 cp -a $install/usr/bin $fs/usr
44 }