wok view epm/receipt @ rev 25380
updated unhide (20130526 -> 20210124)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jul 30 16:42:50 2022 +0100 (2022-07-30) |
parents | 5ea0ce1cecc0 |
children | 20ad21d5532c |
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 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 sed -i -e '34iINSTALL = @INSTALL@' \
27 -e 's|mkepmlist. |mkepmlist.1 |' \
28 -e 's|\$(srcdir)/COPYING \$(srcdir)/README.md||' \
29 doc/Makefile.in
31 ./configure \
32 --prefix=/usr &&
33 make &&
34 make install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 cook_copy_folders bin
41 }