wok-6.x annotate epm/receipt @ rev 24452
cyrus-imapd: configured libexecdir
author | Hans-G?nter Theisgen |
---|---|
date | Tue Feb 15 17:13:46 2022 +0100 (2022-02-15) |
parents | df02951ceb75 |
children | efae52aa2140 |
rev | line source |
---|---|
pascal@15526 | 1 # SliTaz package receipt. |
pascal@15526 | 2 |
pascal@15526 | 3 PACKAGE="epm" |
Hans-G?nter@20888 | 4 VERSION="4.4" |
pascal@15526 | 5 CATEGORY="misc" |
pascal@15526 | 6 SHORT_DESC="File packaging program." |
pascal@15526 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15526 | 8 LICENSE="GPL2" |
Hans-G?nter@20888 | 9 WEB_SITE="https://michaelrsweet.github.io/epm/" |
Hans-G?nter@20888 | 10 |
Hans-G?nter@20888 | 11 TARBALL="$PACKAGE-$VERSION-source.tar.gz" |
Hans-G?nter@20888 | 12 WGET_URL="https://github.com/michaelrsweet/$PACKAGE/archive/v$VERSION.tar.gz" |
pascal@15526 | 13 |
pascal@15526 | 14 DEPENDS="" |
pascal@15526 | 15 BUILD_DEPENDS="" |
pascal@15526 | 16 |
pascal@24055 | 17 current_version() |
pascal@24055 | 18 { |
pascal@24055 | 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24055 | 21 } |
pascal@24055 | 22 |
pascal@15526 | 23 # Rules to configure and make the package. |
pascal@15526 | 24 compile_rules() |
pascal@15526 | 25 { |
Hans-G?nter@20888 | 26 ./configure --prefix=/usr && |
Hans-G?nter@20888 | 27 make -j 1 |
pascal@15526 | 28 } |
pascal@15526 | 29 |
pascal@15526 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@15526 | 31 genpkg_rules() |
pascal@15526 | 32 { |
pascal@15526 | 33 mkdir -p $fs/usr/bin |
pascal@15526 | 34 cp -a $src/epm $fs/usr/bin |
pascal@15526 | 35 } |