wok-current annotate flrec/receipt @ rev 24569
sokojs: add shrink.sh (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 26 18:46:53 2022 +0000 (2022-02-26) |
parents | e3f377fbc5f0 |
children | 00e3b45c063b |
rev | line source |
---|---|
pankso@16377 | 1 # SliTaz package receipt. |
pankso@16377 | 2 |
pankso@16377 | 3 PACKAGE="flrec" |
pankso@16377 | 4 VERSION="0.13" |
pankso@16377 | 5 CATEGORY="multimedia" |
pankso@16377 | 6 SHORT_DESC="FLTK RECorder is a simple audio hard disk recorder" |
pankso@16377 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@16377 | 8 LICENSE="GPL2" |
pankso@16377 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@20673 | 10 WEB_SITE="http://matteolucarelli.altervista.org/flrec/index_en.htm" |
pankso@16377 | 11 WGET_URL="http://www.matteolucarelli.net/flrec/$TARBALL" |
pankso@16377 | 12 HOST_ARCH="i486 arm" |
pankso@16377 | 13 |
pankso@16377 | 14 DEPENDS="fltk sox" |
pankso@16377 | 15 BUILD_DEPENDS="fltk-dev sox-dev" |
pankso@16377 | 16 |
pascal@24439 | 17 # What is the latest version available today? |
pascal@24439 | 18 current_version() |
pascal@24439 | 19 { |
pascal@24439 | 20 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24439 | 21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q |
pascal@24439 | 22 } |
pascal@24439 | 23 |
pankso@16377 | 24 # Rules to configure and make the package. |
pankso@16377 | 25 compile_rules() |
pankso@16377 | 26 { |
pankso@16377 | 27 make CC=${HOST_SYSTEM}-g++ |
pankso@16377 | 28 } |
pankso@16377 | 29 |
pankso@16377 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16377 | 31 genpkg_rules() |
pankso@16377 | 32 { |
pankso@16377 | 33 mkdir -p $fs/usr/bin |
pankso@16377 | 34 cp -a ${src}/flrec $fs/usr/bin |
pankso@16377 | 35 } |