wok-current annotate micro_proxy/receipt @ rev 25728

Merge wok for both arch and few updates
author Stanislas Leduc <shann@slitaz.org>
date Thu Dec 05 08:39:45 2024 +0000 (2 weeks ago)
parents e6a4cd87fdcb
children
rev   line source
pascal@11224 1 # SliTaz package receipt.
pascal@11224 2
pascal@11224 3 PACKAGE="micro_proxy"
Hans-G?nter@21437 4 VERSION="20140814"
pascal@11224 5 CATEGORY="network"
pascal@11224 6 SHORT_DESC="A small HTTP/HTTPS proxy."
pascal@11224 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15611 8 LICENSE="BSD"
pascal@11224 9 WEB_SITE="http://www.acme.com/software/micro_proxy/"
Hans-G?nter@21437 10
Hans-G?nter@21437 11 TARBALL="${PACKAGE}_14Aug2014.tar.gz"
pascal@11224 12 WGET_URL="${WEB_SITE}$TARBALL"
pascal@11224 13
pascal@24433 14 # What is the latest version available today?
pascal@24433 15 current_version()
pascal@24433 16 {
pascal@24433 17 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24433 18 sed "/latest/d;/${PACKAGE}_/!d;/tar/!d;s|.*${PACKAGE}_\\(.*\\).tar.*\".*|\\1|" | \
pascal@24433 19 sort -Vr | sed q | xargs date +%Y%m%d -d
pascal@24433 20 }
pascal@24433 21
pascal@11224 22 # Rules to configure and make the package.
pascal@11224 23 compile_rules()
pascal@11224 24 {
pascal@11224 25 make
pascal@11224 26 }
pascal@11224 27
pascal@11224 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11224 29 genpkg_rules()
pascal@11224 30 {
pascal@11224 31 mkdir -p $fs/usr/bin
pascal@11224 32 cp -a $src/$PACKAGE $fs/usr/bin
pascal@11224 33 }