wok view micro_proxy/receipt @ rev 24591
updated genext2fs (1.4.1 -> 1.5.0)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Feb 28 17:48:46 2022 +0100 (2022-02-28) |
parents | e6a4cd87fdcb |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="micro_proxy"
4 VERSION="20140814"
5 CATEGORY="network"
6 SHORT_DESC="A small HTTP/HTTPS proxy."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="http://www.acme.com/software/micro_proxy/"
11 TARBALL="${PACKAGE}_14Aug2014.tar.gz"
12 WGET_URL="${WEB_SITE}$TARBALL"
14 # What is the latest version available today?
15 current_version()
16 {
17 wget -O - ${WGET_URL%/*} 2>/dev/null | \
18 sed "/latest/d;/${PACKAGE}_/!d;/tar/!d;s|.*${PACKAGE}_\\(.*\\).tar.*\".*|\\1|" | \
19 sort -Vr | sed q | xargs date +%Y%m%d -d
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 make
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/bin
32 cp -a $src/$PACKAGE $fs/usr/bin
33 }