wok annotate epm/receipt @ rev 25668

Up git (2.44.0), glances (3.4.0.3), glpi (0.0.12), gmp (6.3.0), gnutls (3.8.3), hdf5 (1.14.3), jpeg (9f)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 25 15:02:28 2024 +0000 (4 months ago)
parents efae52aa2140
children
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@25599 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@25599 21 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
pascal@24055 22 }
pascal@24055 23
pascal@15526 24 # Rules to configure and make the package.
pascal@15526 25 compile_rules()
pascal@15526 26 {
Hans-G?nter@24517 27 sed -i -e '34iINSTALL = @INSTALL@' \
Hans-G?nter@24517 28 -e 's|mkepmlist. |mkepmlist.1 |' \
Hans-G?nter@24517 29 -e 's|\$(srcdir)/COPYING \$(srcdir)/README.md||' \
Hans-G?nter@24517 30 doc/Makefile.in
Hans-G?nter@24517 31
Hans-G?nter@24517 32 ./configure \
Hans-G?nter@24517 33 --prefix=/usr &&
Hans-G?nter@24517 34 make &&
Hans-G?nter@24517 35 make install
pascal@15526 36 }
pascal@15526 37
pascal@15526 38 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@15526 39 genpkg_rules()
pascal@15526 40 {
Hans-G?nter@24517 41 cook_copy_folders bin
pascal@15526 42 }