wok annotate mpl123/receipt @ rev 25352
created recipe for tesseract-ocr-data
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jul 26 14:01:02 2022 +0100 (2022-07-26) |
parents | b60b141fe2e0 |
children | 7364ffdaaa60 |
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@24055 | 17 current_version() |
pascal@24055 | 18 { |
pascal@24055 | 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24055 | 21 } |
pascal@24055 | 22 |
pankso@16574 | 23 # Rules to configure and make the package. |
pankso@16574 | 24 compile_rules() |
pankso@16574 | 25 { |
pankso@16574 | 26 make DESTDIR=${DESTDIR} install |
pankso@16574 | 27 } |
pankso@16574 | 28 |
pankso@16574 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16574 | 30 genpkg_rules() |
pankso@16574 | 31 { |
pankso@16574 | 32 mkdir -p $fs |
pankso@16574 | 33 cp -a ${install}/* ${fs} |
pankso@16574 | 34 } |