wok-6.x view mpl123/receipt @ rev 24990
idesk: imlib2 >= 1.7.5 support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 13 20:03:04 2022 +0000 (2022-05-13) |
parents | b60b141fe2e0 |
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 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 make DESTDIR=${DESTDIR} install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs
33 cp -a ${install}/* ${fs}
34 }