wok view ftjam/receipt @ rev 24601

updated gifsicle (1.92 -> 1.93)
author Hans-G?nter Theisgen
date Wed Mar 02 07:52:09 2022 +0100 (2022-03-02)
parents 3b4e4318134e
children ad9008f821da
line source
1 # SliTaz package receipt.
3 PACKAGE="ftjam"
4 VERSION="2.5.3rc2"
5 CATEGORY="development"
6 MAINTAINER="jozee@slitaz.org"
7 LICENSE="BSD"
8 SHORT_DESC=="FT Jam - an enhanced version of the Jam build tool"
9 WEB_SITE="http://freetype.org/jam/"
10 PROVIDE="jam"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://david.freetype.org/jam/$TARBALL"
14 DEPENDS="glibc-base"
15 BUILD_DEPENDS="bison"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/freetype/files/ftjam/ 2>/dev/null | \
21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
22 sed '/scope="row/!d;s|.*/ftjam/||;s|/.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules() {
27 cd $src
28 ./configure --prefix=/usr $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
37 cp -a $install/usr/bin $fs/usr
39 }