wok-6.x annotate ftjam/receipt @ rev 25193
updated python-genshi (0.7.3 -> 0.7.5)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 10:42:47 2022 +0100 (2022-07-13) |
parents | ad9008f821da |
children | fb82383c591b |
rev | line source |
---|---|
jozee@4537 | 1 # SliTaz package receipt. |
jozee@4537 | 2 |
jozee@4537 | 3 PACKAGE="ftjam" |
jozee@4537 | 4 VERSION="2.5.3rc2" |
jozee@4537 | 5 CATEGORY="development" |
jozee@4537 | 6 MAINTAINER="jozee@slitaz.org" |
pascal@15593 | 7 LICENSE="BSD" |
pascal@24626 | 8 SHORT_DESC="FT Jam - an enhanced version of the Jam build tool" |
jozee@4537 | 9 WEB_SITE="http://freetype.org/jam/" |
jozee@4537 | 10 PROVIDE="jam" |
jozee@4537 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@25028 | 12 WGET_URL="https://www.mirrorservice.org/sites/download.salixos.org/i486/14.0/source/d/$PACKAGE/$TARBALL" |
jozee@4537 | 13 |
slaxemulator@10329 | 14 DEPENDS="glibc-base" |
slaxemulator@10329 | 15 BUILD_DEPENDS="bison" |
slaxemulator@10329 | 16 |
pascal@24540 | 17 # What is the latest version available today? |
pascal@24540 | 18 current_version() |
pascal@24540 | 19 { |
pascal@24540 | 20 wget -O - https://sourceforge.net/projects/freetype/files/ftjam/ 2>/dev/null | \ |
pascal@24540 | 21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24540 | 22 sed '/scope="row/!d;s|.*/ftjam/||;s|/.*||;q' |
pascal@24540 | 23 } |
pascal@24540 | 24 |
jozee@4537 | 25 # Rules to configure and make the package. |
pascal@24626 | 26 compile_rules() |
pascal@24626 | 27 { |
slaxemulator@10329 | 28 ./configure --prefix=/usr $CONFIGURE_ARGS && |
slaxemulator@10329 | 29 make && |
slaxemulator@10329 | 30 make DESTDIR=$DESTDIR install |
jozee@4537 | 31 } |
jozee@4537 | 32 |
jozee@4537 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@4537 | 34 genpkg_rules() |
jozee@4537 | 35 { |
jozee@4537 | 36 mkdir -p $fs/usr |
pascal@15593 | 37 cp -a $install/usr/bin $fs/usr |
jozee@4537 | 38 |
jozee@4537 | 39 } |