wok annotate libmowgli/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (24 months ago)
parents 5ea0ce1cecc0
children
rev   line source
mimas@2029 1 # SliTaz package receipt.
mimas@2029 2
mimas@2029 3 PACKAGE="libmowgli"
Hans-G?nter@21259 4 VERSION="2.1.3"
pascal@2054 5 CATEGORY="system-tools"
mimas@2029 6 SHORT_DESC="High performance and highly flexible algorithms."
mimas@2029 7 MAINTAINER="mimas@slitaz.org"
pascal@15473 8 LICENSE="BSD"
pascal@21784 9 WEB_SITE="https://github.com/atheme/libmowgli-2"
Hans-G?nter@21259 10
slaxemulator@15856 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@21259 12 WGET_URL="https://github.com/atheme/$PACKAGE-2/archive/v$VERSION.tar.gz"
slaxemulator@15856 13
Hans-G?nter@21259 14 BUILD_DEPENDS=""
mimas@2029 15
pascal@24055 16 current_version()
pascal@24055 17 {
pascal@24299 18 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
pascal@24055 19 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24055 20 }
pascal@24055 21
mimas@2029 22 # Rules to configure and make the package.
mimas@2029 23 compile_rules()
mimas@2029 24 {
slaxemulator@10243 25 sed -i "s/touch -t 0001010000 /touch /g" configure
Hans-G?nter@21259 26 ./configure \
pascal@2054 27 $CONFIGURE_ARGS &&
Hans-G?nter@21259 28 make -j 1 &&
Hans-G?nter@21259 29 make install
mimas@2029 30 }
mimas@2029 31
mimas@2029 32 # Rules to gen a SliTaz package suitable for Tazpkg.
mimas@2029 33 genpkg_rules()
mimas@2029 34 {
mimas@2029 35 mkdir -p $fs/usr/lib
pascal@15860 36 cp -a $install/usr/lib/libmowgli*.so* $fs/usr/lib
mimas@2029 37 }