wok annotate sylfilter/receipt @ rev 25643
Fix mouse issue on mc with ncurses6
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Jan 12 14:14:28 2024 +0100 (7 months ago) |
parents | 934055de50e2 |
children |
rev | line source |
---|---|
pankso@19547 | 1 # SliTaz package receipt. |
pankso@19547 | 2 |
pankso@19547 | 3 PACKAGE="sylfilter" |
pankso@19547 | 4 VERSION="0.8" |
pankso@19547 | 5 CATEGORY="network" |
pankso@19547 | 6 SHORT_DESC="SylFilter is a light message filter library and command-line tools." |
pankso@19547 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@19547 | 8 LICENSE="BSD" |
pankso@19547 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@25540 | 10 WEB_SITE="https://sylpheed.sraoss.jp/sylfilter/" |
pascal@25540 | 11 WGET_URL="https://sylpheed.sraoss.jp/sylfilter/src/$TARBALL" |
pankso@19547 | 12 TAGS="mail email filter spam" |
pankso@19547 | 13 |
pankso@19547 | 14 DEPENDS="sqlite" |
pankso@19547 | 15 BUILD_DEPENDS="sqlite-dev" |
pankso@19547 | 16 |
pascal@24462 | 17 # What is the latest version available today? |
pascal@24462 | 18 current_version() |
pascal@24462 | 19 { |
pascal@24462 | 20 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ |
pascal@24462 | 21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24462 | 22 } |
pascal@24462 | 23 |
pankso@19547 | 24 # Rules to configure and make the package. |
pankso@19547 | 25 compile_rules() |
pankso@19547 | 26 { |
pascal@19548 | 27 sed -i 's|config.rpath.*|& 2>/dev/null|' configure # hide trigger |
pankso@19547 | 28 ./configure \ |
pankso@19547 | 29 --prefix=/usr \ |
pankso@19547 | 30 $CONFIGURE_ARGS && |
pankso@19547 | 31 make && make install |
pankso@19547 | 32 } |
pankso@19547 | 33 |
pankso@19547 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@19547 | 35 genpkg_rules() |
pankso@19547 | 36 { |
pankso@19547 | 37 mkdir -p $fs/usr/lib |
pankso@19547 | 38 cp -a $install/usr/bin $fs/usr |
pankso@19547 | 39 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@19547 | 40 } |