wok view epm/receipt @ rev 25620

Up youtube-dl (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 30 10:53:19 2023 +0000 (14 months ago)
parents efae52aa2140
children
line source
1 # SliTaz package receipt.
3 PACKAGE="epm"
4 VERSION="5.0.0"
5 CATEGORY="misc"
6 SHORT_DESC="File packaging program."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://jimjag.github.io/epm/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/jimjag/$PACKAGE/archive/v$VERSION.tar.gz"
14 DEPENDS=""
15 BUILD_DEPENDS=""
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 sed -i -e '34iINSTALL = @INSTALL@' \
28 -e 's|mkepmlist. |mkepmlist.1 |' \
29 -e 's|\$(srcdir)/COPYING \$(srcdir)/README.md||' \
30 doc/Makefile.in
32 ./configure \
33 --prefix=/usr &&
34 make &&
35 make install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 cook_copy_folders bin
42 }