wok-current view ytnef/receipt @ rev 25685

Add checkspace / fetchall feature for tazpkg
author Stanislas Leduc <shann@slitaz.org>
date Thu Mar 14 20:28:39 2024 +0000 (8 months ago)
parents 8e1bb04468e8
children
line source
1 # SliTaz package receipt.
3 PACKAGE="ytnef"
4 VERSION="1.9.3"
5 CATEGORY="mail"
6 SHORT_DESC="Yeraze's TNEF Stream Reader - for winmail.dat files."
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="GPL"
9 WEB_SITE="https://github.com/Yeraze/ytnef"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/Yeraze/$PACKAGE/archive/v$VERSION.tar.gz"
14 BUILD_DEPENDS="automake libtool"
16 current_version()
17 {
18 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
19 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
20 }
22 compile_rules()
23 {
24 ./autogen.sh &&
25 autoreconf -fi &&
27 ./configure \
28 --disable-static \
29 $CONFIGURE_ARGS &&
30 make &&
31 make install
32 }
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 }