wok view mpl123/receipt @ rev 25600

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 16 15:14:43 2023 +0000 (10 months ago)
parents 5ea0ce1cecc0
children
line source
1 # SliTaz package receipt.
3 PACKAGE="mpl123"
4 VERSION="1.1.0"
5 CATEGORY="multimedia"
6 SHORT_DESC="Light weight Ncurses frontend to mpg123"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/pankso/mpl123"
11 WGET_URL="https://github.com/pankso/mpl123/archive/v${VERSION}.tar.gz"
12 HOST_ARCH="arm i486"
14 DEPENDS="dialog mpg123"
15 BUILD_DEPENDS="wget"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 make DESTDIR=${DESTDIR} install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs
34 cp -a ${install}/* ${fs}
35 }