wok-current view ftjam/receipt @ rev 24776
jack1: added build dependency gcc83
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 19 17:48:51 2022 +0100 (2022-03-19) |
parents | 544e47246b33 |
children | 22471cbea549 |
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 {
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 }