wok view flmusic/receipt @ rev 25794
created recipe for exo-lang
author | Hans-G?nter Theisgen |
---|---|
date | Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago) |
parents | 00e3b45c063b |
children |
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 '/tag\//!d;s|.*tag/v*||;s|".*||;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 }