wok-current view mpl123/receipt @ rev 25672
patch tazpkg, upgrade core pkgs first
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sun Mar 03 17:58:42 2024 +0000 (5 months ago) |
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 }