wok view ftjam/receipt @ rev 25794

created recipe for exo-lang
author Hans-G?nter Theisgen
date Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago)
parents fb82383c591b
children
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="https://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|.*a href="|"https://sourceforge.net|;s| .*||;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 }