wok-6.x view ftjam/receipt @ rev 25472

Update some web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Oct 11 07:33:58 2022 +0000 (2022-10-11)
parents ad9008f821da
children fb82383c591b
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="https://www.mirrorservice.org/sites/download.salixos.org/i486/14.0/source/d/$PACKAGE/$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 {
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 }