wok-current annotate gujin/receipt @ rev 24538

updated fbcat (0.5.1 -> 0.5.2)
author Hans-G?nter Theisgen
date Wed Feb 23 15:14:49 2022 +0100 (2022-02-23)
parents 9a3e467ad16b
children ad0bc3efbf37
rev   line source
pascal@13748 1 # SliTaz package receipt.
pascal@13748 2
pascal@13748 3 PACKAGE="gujin"
Hans-G?nter@21015 4 VERSION="2.8.7"
pascal@13748 5 CATEGORY="base-system"
pascal@13748 6 SHORT_DESC="Graphical real-mode bootloader."
pascal@13748 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15215 8 LICENSE="GPL2"
Hans-G?nter@21015 9 WEB_SITE="https://sourceforge.net/projects/gujin/"
Hans-G?nter@21015 10
pascal@13748 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@13748 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@13748 13
pascal@13748 14 DEPENDS=""
pascal@13748 15 BUILD_DEPENDS=""
pascal@13748 16
pascal@24403 17 # What is the latest version available today?
pascal@24403 18 current_version()
pascal@24403 19 {
pascal@24403 20 wget -O - https://sourceforge.net/projects/gujin/files/gujin/ 2>/dev/null | \
pascal@24403 21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24403 22 sed '/scope="row/!d;s|.*/gujin/||;s|/.*||;q'
pascal@24403 23 }
pascal@24403 24
pascal@13748 25 # Rules to configure and make the package.
pascal@13748 26 compile_rules()
pascal@13748 27 {
Hans-G?nter@21015 28 make -j 1 &&
Hans-G?nter@21015 29 make DESTDIR=$DESTDIR install
pascal@13748 30 }
pascal@13748 31
pascal@13748 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13748 33 genpkg_rules()
pascal@13748 34 {
pascal@13748 35 cp -a $install/sbin $fs
pascal@13748 36 }