wok annotate chmlib/receipt @ rev 24482

updated diffutils (3.7 -> 3.8)
author Hans-G?nter Theisgen
date Fri Feb 18 14:45:09 2022 +0100 (2022-02-18)
parents eb8067417980
children
rev   line source
erjo@1306 1 # SliTaz package receipt.
erjo@1306 2
erjo@1306 3 PACKAGE="chmlib"
slaxemulator@6219 4 VERSION="0.40"
erjo@1306 5 CATEGORY="misc"
jozee@4933 6 SHORT_DESC="library for dealing with CHM format or windows help files"
erjo@1306 7 MAINTAINER="allan316@gmail.com"
pascal@15579 8 LICENSE="LGPL2.1"
erjo@1306 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
erjo@1306 10 WEB_SITE="http://www.jedrea.com/chmlib"
erjo@1306 11 WGET_URL="http://www.jedrea.com/chmlib/$TARBALL"
jozee@4933 12 TAGS="CHM windows"
jozee@4933 13
pascal@15579 14 DEPENDS=""
pascal@15579 15
pascal@24436 16 # What is the latest version available today?
pascal@24436 17 current_version()
pascal@24436 18 {
pascal@24436 19 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24436 20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24436 21 }
pascal@24436 22
erjo@1306 23 # Rules to configure and make the package.
erjo@1306 24 compile_rules()
erjo@1306 25 {
erjo@1306 26 cd $src
erjo@1306 27 ./configure --prefix=/usr --infodir=/usr/share/info \
erjo@1306 28 --mandir=/usr/share/man $CONFIGURE_ARGS
erjo@1306 29 make
pascal@15579 30 make DESTDIR=$DESTDIR install
erjo@1306 31 }
erjo@1306 32
erjo@1306 33 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@1306 34 genpkg_rules()
erjo@1306 35 {
erjo@1306 36 mkdir -p $fs/usr/lib
pascal@15579 37 cp -a $install/usr/lib/*.so* $fs/usr/lib/
erjo@1306 38 }