wok annotate flmusic/receipt @ rev 24889

grub2: sed command corrected
author Hans-G?nter Theisgen
date Sat Apr 02 17:34:21 2022 +0100 (2022-04-02)
parents 59d50f859d0d
children 00e3b45c063b
rev   line source
pankso@16372 1 # SliTaz package receipt
pankso@16372 2
pankso@16372 3 PACKAGE="flmusic"
pankso@16372 4 VERSION="1.2.1"
pankso@16372 5 CATEGORY="multimedia"
pankso@16372 6 SHORT_DESC="FLTK Audio player"
pankso@16372 7 MAINTAINER="pankso@slitaz.org"
pankso@16372 8 LICENSE="GPL"
pankso@16372 9 TARBALL="$PACKAGE-fltk13-source-$VERSION.tgz"
pankso@16372 10 WEB_SITE="http://home.arcor.de/szukw000/english_index.html"
pankso@16372 11 WGET_URL="http://home.arcor.de/szukw000/$TARBALL"
pankso@16372 12
pankso@16372 13 DEPENDS="fltk alsa-lib sox"
pankso@16372 14 BUILD_DEPENDS="fltk-dev alsa-lib-dev sox-dev"
pankso@16372 15
pascal@24540 16 # What is the latest version available today?
pascal@24540 17 current_version()
pascal@24540 18 {
pascal@24540 19 wget -O - https://github.com/bbidulock/flmusic/releases 2>/dev/null | \
pascal@24540 20 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
pascal@24540 21 }
pascal@24540 22
pankso@16372 23 # Rules to configure and make the package.
pankso@16372 24 compile_rules()
pankso@16372 25 {
pankso@16372 26 #sed -i '/ioctl.h/a #include <limits.h>' reader.c &&
pankso@16372 27 sed -i 's/$(installdir)/$(DESTDIR)$(installdir)/' \
pankso@16372 28 Makefile.in || return 1
pankso@16372 29 chmod +x configure &&
pankso@16372 30 ./configure --prefix=/usr \
pankso@16372 31 $CONFIGURE_ARGS &&
pankso@16372 32 make && mkdir -p $DESTDIR/usr/bin &&
pankso@16372 33 make DESTDIR=$DESTDIR install
pankso@16372 34 }
pankso@16372 35
pankso@16372 36 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@16372 37 genpkg_rules()
pankso@16372 38 {
pankso@16372 39 mkdir -p $fs/usr
pankso@16372 40 cp -a $install/usr/bin $fs/usr
pankso@16372 41 }