wok-current view micro_proxy/receipt @ rev 25267

Update some deps using gcc83-lib-base
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 17 08:24:48 2022 +0000 (2022-07-17)
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 }