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