wok annotate epm/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (24 months ago)
parents 5ea0ce1cecc0
children 20ad21d5532c
rev   line source
pascal@15526 1 # SliTaz package receipt.
pascal@15526 2
pascal@15526 3 PACKAGE="epm"
Hans-G?nter@24517 4 VERSION="5.0.0"
pascal@15526 5 CATEGORY="misc"
pascal@15526 6 SHORT_DESC="File packaging program."
pascal@15526 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15526 8 LICENSE="GPL2"
Hans-G?nter@24517 9 WEB_SITE="https://jimjag.github.io/epm/"
Hans-G?nter@20888 10
Hans-G?nter@24517 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@24517 12 WGET_URL="https://github.com/jimjag/$PACKAGE/archive/v$VERSION.tar.gz"
pascal@15526 13
pascal@15526 14 DEPENDS=""
pascal@15526 15 BUILD_DEPENDS=""
pascal@15526 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
pascal@15526 23 # Rules to configure and make the package.
pascal@15526 24 compile_rules()
pascal@15526 25 {
Hans-G?nter@24517 26 sed -i -e '34iINSTALL = @INSTALL@' \
Hans-G?nter@24517 27 -e 's|mkepmlist. |mkepmlist.1 |' \
Hans-G?nter@24517 28 -e 's|\$(srcdir)/COPYING \$(srcdir)/README.md||' \
Hans-G?nter@24517 29 doc/Makefile.in
Hans-G?nter@24517 30
Hans-G?nter@24517 31 ./configure \
Hans-G?nter@24517 32 --prefix=/usr &&
Hans-G?nter@24517 33 make &&
Hans-G?nter@24517 34 make install
pascal@15526 35 }
pascal@15526 36
pascal@15526 37 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@15526 38 genpkg_rules()
pascal@15526 39 {
Hans-G?nter@24517 40 cook_copy_folders bin
pascal@15526 41 }