wok-current annotate flmusic/receipt @ rev 24053
Up slitaz-boot-script (471)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 27 13:42:59 2021 +0000 (2021-05-27) |
parents | |
children | 544e47246b33 |
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 |
pankso@16372 | 16 # Rules to configure and make the package. |
pankso@16372 | 17 compile_rules() |
pankso@16372 | 18 { |
pankso@16372 | 19 #sed -i '/ioctl.h/a #include <limits.h>' reader.c && |
pankso@16372 | 20 sed -i 's/$(installdir)/$(DESTDIR)$(installdir)/' \ |
pankso@16372 | 21 Makefile.in || return 1 |
pankso@16372 | 22 chmod +x configure && |
pankso@16372 | 23 ./configure --prefix=/usr \ |
pankso@16372 | 24 $CONFIGURE_ARGS && |
pankso@16372 | 25 make && mkdir -p $DESTDIR/usr/bin && |
pankso@16372 | 26 make DESTDIR=$DESTDIR install |
pankso@16372 | 27 } |
pankso@16372 | 28 |
pankso@16372 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16372 | 30 genpkg_rules() |
pankso@16372 | 31 { |
pankso@16372 | 32 mkdir -p $fs/usr |
pankso@16372 | 33 cp -a $install/usr/bin $fs/usr |
pankso@16372 | 34 } |