wok view ytnef/receipt @ rev 25667

Up wordpress (6.4.3), xerces-c (3.2.5), ytnet (2.1.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 25 12:33:55 2024 +0000 (3 months ago)
parents 0262035dc1e7
children
line source
1 # SliTaz package receipt.
3 PACKAGE="ytnef"
4 VERSION="2.1.2"
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 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./autogen.sh &&
27 autoreconf -fi &&
29 ./configure \
30 --disable-static \
31 $CONFIGURE_ARGS &&
32 make &&
33 make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib
41 cp -a $install/usr/bin $fs/usr
42 cp -a $install/usr/lib/*.so* $fs/usr/lib
43 }