wok view flmusic/receipt @ rev 25074

Add python-ipaddress
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 13 19:39:39 2022 +0000 (22 months ago)
parents 544e47246b33
children 20ad21d5532c
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="https://github.com/bbidulock/flmusic"
11 WGET_URL="https://github.com/bbidulock/flmusic/archive/refs/tags/$VERSION.tar.gz"
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 }