wok view chmlib/receipt @ rev 24731

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