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