wok annotate minicom/receipt @ rev 21443

minicom: inserted autogen.sh
author Hans-G?nter Theisgen
date Mon Apr 29 14:48:04 2019 +0100 (2019-04-29)
parents 144587e79c1d
children 6f0efac8da83
rev   line source
pascal@1643 1 # SliTaz package receipt.
pascal@1643 2
pascal@1643 3 PACKAGE="minicom"
Hans-G?nter@21441 4 VERSION="2.7.1"
pascal@1643 5 CATEGORY="development"
Hans-G?nter@21441 6 SHORT_DESC="Menu driven communications program."
pascal@1643 7 MAINTAINER="f.lombard@free.fr"
pascal@15583 8 LICENSE="GPL2"
Hans-G?nter@21441 9 WEB_SITE="https://salsa.debian.org/minicom-team/minicom"
Hans-G?nter@21441 10
pascal@1643 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
devl547@5623 12 WGET_URL="http://alioth.debian.org/frs/download.php/3195/$PACKAGE/$TARBALL"
pascal@1643 13
pascal@15583 14 DEPENDS="ncurses"
Hans-G?nter@21443 15 BUILD_DEPENDS="automake ncurses-dev"
Hans-G?nter@21441 16 CONFIG_FILES="/etc/minirc.dfl"
pascal@15583 17
pascal@1643 18 # Rules to configure and make the package.
pascal@1643 19 compile_rules()
pascal@1643 20 {
pascal@4276 21 sed -i 's/getline/get_line/' src/minicom.c
Hans-G?nter@21441 22
Hans-G?nter@21443 23 ./autogen.sh &&
Hans-G?nter@21441 24 ./configure \
Hans-G?nter@21441 25 --sysconfdir=/etc \
Hans-G?nter@21441 26 --prefix=/usr \
Hans-G?nter@21441 27 --infodir=/usr/share/info \
Hans-G?nter@21441 28 --mandir=/usr/share/man \
domcox@12168 29 $CONFIGURE_ARGS &&
Hans-G?nter@21441 30 make -j 1 &&
pascal@15583 31 make DESTDIR=$DESTDIR install
pascal@1643 32 }
pascal@1643 33
pascal@1643 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1643 35 genpkg_rules()
pascal@1643 36 {
pascal@1643 37 mkdir -p $fs/usr
pascal@15583 38 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21441 39
domcox@12171 40 mkdir -p $fs/etc
domcox@12171 41 touch $fs$CONFIG_FILES
pascal@1643 42 }