wok-current view minicom/receipt @ rev 25338
updated svkbd packages ( -> 0.4.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jul 24 10:22:05 2022 +0100 (2022-07-24) |
parents | 6f0efac8da83 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="minicom"
4 VERSION="2.7.1"
5 CATEGORY="development"
6 SHORT_DESC="Menu driven communications program."
7 MAINTAINER="f.lombard@free.fr"
8 LICENSE="GPL2"
9 WEB_SITE="https://salsa.debian.org/minicom-team/minicom"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="${WEB_SITE}/-/archive/master/v$VERSION.tar.bz2"
14 DEPENDS="ncurses"
15 BUILD_DEPENDS="automake ncurses-dev"
16 CONFIG_FILES="/etc/minirc.dfl"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - $WEB_SITE/-/tags 2>/dev/null | \
22 sed '/tar.gz/!d;s|.*/minicom-\(.*\).tar.gz".*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 sed -i 's/getline/get_line/' src/minicom.c
30 ./autogen.sh &&
31 ./configure \
32 --sysconfdir=/etc \
33 --prefix=/usr \
34 --infodir=/usr/share/info \
35 --mandir=/usr/share/man \
36 $CONFIGURE_ARGS &&
37 make -j 1 &&
38 make DESTDIR=$DESTDIR install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr
45 cp -a $install/usr/bin $fs/usr
47 mkdir -p $fs/etc
48 touch $fs$CONFIG_FILES
49 }