wok annotate ytnef/receipt @ rev 24967

filezilla: added dependency libmspack (thanks rerivero)
author Hans-G?nter Theisgen
date Tue Apr 26 07:15:14 2022 +0100 (2022-04-26)
parents 8e1bb04468e8
children 0262035dc1e7
rev   line source
Hans-G?nter@22605 1 # SliTaz package receipt.
Hans-G?nter@22605 2
Hans-G?nter@22605 3 PACKAGE="ytnef"
Hans-G?nter@22605 4 VERSION="1.9.3"
Hans-G?nter@22605 5 CATEGORY="mail"
Hans-G?nter@22605 6 SHORT_DESC="Yeraze's TNEF Stream Reader - for winmail.dat files."
Hans-G?nter@22605 7 MAINTAINER="maintainer@slitaz.org"
Hans-G?nter@22605 8 LICENSE="GPL"
Hans-G?nter@22605 9 WEB_SITE="https://github.com/Yeraze/ytnef"
Hans-G?nter@22605 10
Hans-G?nter@22605 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@22605 12 WGET_URL="https://github.com/Yeraze/$PACKAGE/archive/v$VERSION.tar.gz"
Hans-G?nter@22605 13
Hans-G?nter@22605 14 BUILD_DEPENDS="automake libtool"
Hans-G?nter@22605 15
pascal@24055 16 current_version()
pascal@24055 17 {
pascal@24055 18 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 19 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24055 20 }
pascal@24055 21
Hans-G?nter@22605 22 compile_rules()
Hans-G?nter@22605 23 {
Hans-G?nter@22605 24 ./autogen.sh &&
Hans-G?nter@22605 25 autoreconf -fi &&
Hans-G?nter@22605 26
Hans-G?nter@22605 27 ./configure \
Hans-G?nter@22605 28 --disable-static \
Hans-G?nter@22605 29 $CONFIGURE_ARGS &&
Hans-G?nter@22605 30 make &&
Hans-G?nter@22605 31 make install
Hans-G?nter@22605 32 }
Hans-G?nter@22605 33
Hans-G?nter@22605 34 genpkg_rules()
Hans-G?nter@22605 35 {
Hans-G?nter@22605 36 mkdir -p $fs/usr/lib
Hans-G?nter@22605 37
Hans-G?nter@22605 38 cp -a $install/usr/bin $fs/usr
Hans-G?nter@22605 39 cp -a $install/usr/lib/*.so* $fs/usr/lib
Hans-G?nter@22605 40 }