wok view sylfilter/receipt @ rev 24768
libwebkit: bison 3 fix
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 19 12:46:44 2022 +0000 (2022-03-19) |
parents | de5eaf45ff17 |
children | 73f36875e5a7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="sylfilter"
4 VERSION="0.8"
5 CATEGORY="network"
6 SHORT_DESC="SylFilter is a light message filter library and command-line tools."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://sylpheed.sraoss.jp/sylfilter/"
11 WGET_URL="http://sylpheed.sraoss.jp/sylfilter/src/$TARBALL"
12 TAGS="mail email filter spam"
14 DEPENDS="sqlite"
15 BUILD_DEPENDS="sqlite-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 sed -i 's|config.rpath.*|& 2>/dev/null|' configure # hide trigger
28 ./configure \
29 --prefix=/usr \
30 $CONFIGURE_ARGS &&
31 make && make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 }