wok diff flmusic/receipt @ rev 22368
graphviz: $WGET_URL depends on $VERSION
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 22 18:03:35 2019 +0100 (2019-11-22) |
parents | |
children | 544e47246b33 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/flmusic/receipt Fri Nov 22 18:03:35 2019 +0100 1.3 @@ -0,0 +1,34 @@ 1.4 +# SliTaz package receipt 1.5 + 1.6 +PACKAGE="flmusic" 1.7 +VERSION="1.2.1" 1.8 +CATEGORY="multimedia" 1.9 +SHORT_DESC="FLTK Audio player" 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +LICENSE="GPL" 1.12 +TARBALL="$PACKAGE-fltk13-source-$VERSION.tgz" 1.13 +WEB_SITE="http://home.arcor.de/szukw000/english_index.html" 1.14 +WGET_URL="http://home.arcor.de/szukw000/$TARBALL" 1.15 + 1.16 +DEPENDS="fltk alsa-lib sox" 1.17 +BUILD_DEPENDS="fltk-dev alsa-lib-dev sox-dev" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + #sed -i '/ioctl.h/a #include <limits.h>' reader.c && 1.23 + sed -i 's/$(installdir)/$(DESTDIR)$(installdir)/' \ 1.24 + Makefile.in || return 1 1.25 + chmod +x configure && 1.26 + ./configure --prefix=/usr \ 1.27 + $CONFIGURE_ARGS && 1.28 + make && mkdir -p $DESTDIR/usr/bin && 1.29 + make DESTDIR=$DESTDIR install 1.30 +} 1.31 + 1.32 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.33 +genpkg_rules() 1.34 +{ 1.35 + mkdir -p $fs/usr 1.36 + cp -a $install/usr/bin $fs/usr 1.37 +}