wok view ayttm/receipt @ rev 25460

Update sourceforge.net web_sites with https://
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 28 08:10:35 2022 +0000 (19 months ago)
parents 5f6c5106b1f5
children 6b33f9da53d4
line source
1 # SliTaz package receipt.
3 PACKAGE="ayttm"
4 VERSION="0.6.3"
5 CATEGORY="network"
6 SHORT_DESC="Universal instant messenger client"
7 MAINTAINER="devl547@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://ayttm.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="audiofile-dev enchant-dev flex gtk+-dev libtool
15 openssl-dev xorg-libXpm-dev xcb-util-dev zlib-dev"
16 DEPENDS="aspell audiofile enchant gtk+ openssl xcb-util xorg-libXpm zlib"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://sourceforge.net/projects/ayttm/files/ayttm/ 2>/dev/null | \
22 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
23 sed '/scope="row/!d;/tar/!d;s|.*ayttm-||;s|.tar.*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 # remove -lfl
30 sed -i 's/LEXLIB=.*/LEXLIB=/' configure
32 ./configure \
33 --prefix=/usr \
34 --infodir=/usr/share/info \
35 --mandir=/usr/share/man \
36 --disable-webcam \
37 --disable-esd \
38 --disable-arts \
39 --enable-lj \
40 $CONFIGURE_ARGS &&
41 make &&
42 make install
43 }
45 # Rules to gen a SliTaz package suitable for Tazpkg.
46 genpkg_rules()
47 {
48 mkdir -p $fs/usr
49 mkdir -p $fs/etc
51 cp -a $install/usr/bin $fs/usr
52 cp -a $install/usr/lib $fs/usr
53 cp -a $install/usr/share $fs/usr
54 cp $install/usr/etc/ayttmrc $fs/etc/ayttmrc
55 }