wok-6.x view flmusic/receipt @ rev 24755

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