wok view ftjam/receipt @ rev 25028

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 19 17:04:56 2022 +0000 (22 months ago)
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 }