wok annotate ytnef/receipt @ rev 25791
Up dropbear (2024.86), libssh2 (1.11.1), xz (5.6.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Oct 23 13:27:53 2024 +0000 (3 months ago) |
parents | 0262035dc1e7 |
children |
rev | line source |
---|---|
Hans-G?nter@22605 | 1 # SliTaz package receipt. |
Hans-G?nter@22605 | 2 |
Hans-G?nter@22605 | 3 PACKAGE="ytnef" |
pascal@25667 | 4 VERSION="2.1.2" |
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@25601 | 16 # What is the latest version available today? |
pascal@24055 | 17 current_version() |
pascal@24055 | 18 { |
pascal@24055 | 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@25601 | 20 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' |
pascal@24055 | 21 } |
pascal@24055 | 22 |
pascal@25601 | 23 # Rules to configure and make the package. |
Hans-G?nter@22605 | 24 compile_rules() |
Hans-G?nter@22605 | 25 { |
Hans-G?nter@22605 | 26 ./autogen.sh && |
Hans-G?nter@22605 | 27 autoreconf -fi && |
Hans-G?nter@22605 | 28 |
Hans-G?nter@22605 | 29 ./configure \ |
Hans-G?nter@22605 | 30 --disable-static \ |
Hans-G?nter@22605 | 31 $CONFIGURE_ARGS && |
Hans-G?nter@22605 | 32 make && |
Hans-G?nter@22605 | 33 make install |
Hans-G?nter@22605 | 34 } |
Hans-G?nter@22605 | 35 |
pascal@25601 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
Hans-G?nter@22605 | 37 genpkg_rules() |
Hans-G?nter@22605 | 38 { |
Hans-G?nter@22605 | 39 mkdir -p $fs/usr/lib |
Hans-G?nter@22605 | 40 |
Hans-G?nter@22605 | 41 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22605 | 42 cp -a $install/usr/lib/*.so* $fs/usr/lib |
Hans-G?nter@22605 | 43 } |