wok annotate redupe/receipt @ rev 24883
created recipes for loudmouth and loudmouth-dev
author | Hans-G?nter Theisgen |
---|---|
date | Fri Apr 01 07:38:03 2022 +0100 (2022-04-01) |
parents | 8eaf1d9eb640 |
children |
rev | line source |
---|---|
pascal@24139 | 1 # SliTaz package receipt. |
pascal@24139 | 2 |
pascal@24139 | 3 PACKAGE="redupe" |
pascal@24139 | 4 VERSION="0.1.0" |
pascal@24139 | 5 CATEGORY="system-tools" |
pascal@24139 | 6 SHORT_DESC="Forward error correction." |
pascal@24139 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@24139 | 8 LICENSE="BSD" |
pascal@24139 | 9 WEB_SITE="https://hack.systems/2018/05/16/redupe/" |
pascal@24139 | 10 |
pascal@24139 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@24139 | 12 WGET_URL="https://github.com/rescrv/redupe/archive/refs/tags/v$VERSION.tar.gz" |
pascal@24139 | 13 |
pascal@24139 | 14 DEPENDS="popt" |
Hans-G?nter@24140 | 15 BUILD_DEPENDS="automake gcc83 libtool popt-dev" |
pascal@24139 | 16 |
pascal@24139 | 17 current_version() |
pascal@24139 | 18 { |
pascal@24139 | 19 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ |
pascal@24139 | 20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24139 | 21 } |
pascal@24139 | 22 |
pascal@24139 | 23 # Rules to configure and make the package. |
pascal@24139 | 24 compile_rules() |
pascal@24139 | 25 { |
Hans-G?nter@24140 | 26 mkdir m4 |
pascal@24139 | 27 autoreconf -ivf |
pascal@24139 | 28 ./configure \ |
pascal@24139 | 29 CC=gcc-83 \ |
pascal@24139 | 30 CXX=g++-83 \ |
pascal@24139 | 31 --prefix=/usr \ |
pascal@24139 | 32 --mandir=/usr/share/man \ |
pascal@24139 | 33 $CONFIGURE_ARGS && |
pascal@24139 | 34 make && |
pascal@24139 | 35 make DESTDIR=$DESTDIR install |
pascal@24139 | 36 } |
pascal@24139 | 37 |
pascal@24139 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@24139 | 39 genpkg_rules() |
pascal@24139 | 40 { |
pascal@24139 | 41 cp -a $install/usr $fs/ |
pascal@24139 | 42 } |