wok view minicom/receipt @ rev 21752

tazboot: shrink (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 15 22:12:18 2019 +0200 (2019-06-15)
parents c8dccd069e70
children b78e79c31b1f
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 # Rules to configure and make the package.
19 compile_rules()
20 {
21 sed -i 's/getline/get_line/' src/minicom.c
23 ./autogen.sh &&
24 ./configure \
25 --sysconfdir=/etc \
26 --prefix=/usr \
27 --infodir=/usr/share/info \
28 --mandir=/usr/share/man \
29 $CONFIGURE_ARGS &&
30 make -j 1 &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr
38 cp -a $install/usr/bin $fs/usr
40 mkdir -p $fs/etc
41 touch $fs$CONFIG_FILES
42 }