wok view flrec/receipt @ rev 25598
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 16 12:03:07 2023 +0000 (17 months ago) |
parents | bfabe25c21ff |
children |
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://matteolucarelli.altervista.org/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 }