wok annotate cdf/receipt @ rev 25341
amule: update to new libupnp API
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 24 16:17:15 2022 +0000 (2022-07-24) |
parents | 34e801e0eb52 |
children |
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" |
jozee@4933 | 6 SHORT_DESC="Colorized df (color schemes)." |
paul@2906 | 7 MAINTAINER="paul@slitaz.org" |
pascal@15579 | 8 LICENSE="GPL2" |
paul@2906 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20671 | 10 WEB_SITE="https://github.com/novel/cdf" |
pascal@25023 | 11 WGET_URL="https://src.fedoraproject.org/repo/pkgs/$PACKAGE/$TARBALL/1afd130f6c562700e8ad05724c6e1a9d/$TARBALL" |
jozee@4933 | 12 TAGS="color schemes" |
paul@2906 | 13 |
pascal@15579 | 14 DEPENDS="" |
pascal@15579 | 15 |
pascal@24497 | 16 # What is the latest version available today? |
pascal@24497 | 17 current_version() |
pascal@24497 | 18 { |
pascal@24497 | 19 wget -O - https://raw.githubusercontent.com/novel/cdf/master/ChangeLog 2>/dev/null | \ |
pascal@24497 | 20 sed '/^Version /!d;s|.*ersion ||' | sort -Vr | sed q |
pascal@24497 | 21 } |
pascal@24497 | 22 |
paul@2906 | 23 # Rules to configure and make the package. |
paul@2906 | 24 compile_rules() |
paul@2906 | 25 { |
paul@2906 | 26 cd $src |
paul@2906 | 27 |
paul@2906 | 28 # Fix typos |
paul@2906 | 29 sed -i 's/filesyitems/filesystems/' src/main.c |
paul@2906 | 30 |
paul@2906 | 31 ./configure \ |
paul@2906 | 32 --prefix=/usr \ |
paul@2906 | 33 --infodir=/usr/share/info \ |
paul@2906 | 34 --mandir=/usr/share/man \ |
paul@2906 | 35 $CONFIGURE_ARGS && |
pascal@15579 | 36 make && make DESTDIR=$DESTDIR install |
paul@2906 | 37 } |
paul@2906 | 38 |
paul@2906 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@2906 | 40 genpkg_rules() |
paul@2906 | 41 { |
paul@2906 | 42 mkdir -p $fs/usr |
pascal@15579 | 43 cp -a $install/usr/bin $fs/usr |
paul@2906 | 44 } |