wok annotate minicom/receipt @ rev 24475

updated dfu-util (0.9 -> 0.11)
author Hans-G?nter Theisgen
date Thu Feb 17 17:41:58 2022 +0100 (2022-02-17)
parents 6f0efac8da83
children
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
Hans-G?nter@21446 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
Hans-G?nter@21446 12 WGET_URL="${WEB_SITE}/-/archive/master/v$VERSION.tar.bz2"
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@24419 18 # What is the latest version available today?
pascal@24419 19 current_version()
pascal@24419 20 {
pascal@24419 21 wget -O - $WEB_SITE/-/tags 2>/dev/null | \
pascal@24419 22 sed '/tar.gz/!d;s|.*/minicom-\(.*\).tar.gz".*|\1|;q'
pascal@24419 23 }
pascal@24419 24
pascal@1643 25 # Rules to configure and make the package.
pascal@1643 26 compile_rules()
pascal@1643 27 {
pascal@4276 28 sed -i 's/getline/get_line/' src/minicom.c
Hans-G?nter@21441 29
Hans-G?nter@21443 30 ./autogen.sh &&
Hans-G?nter@21441 31 ./configure \
Hans-G?nter@21441 32 --sysconfdir=/etc \
Hans-G?nter@21441 33 --prefix=/usr \
Hans-G?nter@21441 34 --infodir=/usr/share/info \
Hans-G?nter@21441 35 --mandir=/usr/share/man \
domcox@12168 36 $CONFIGURE_ARGS &&
Hans-G?nter@21441 37 make -j 1 &&
pascal@15583 38 make DESTDIR=$DESTDIR install
pascal@1643 39 }
pascal@1643 40
pascal@1643 41 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1643 42 genpkg_rules()
pascal@1643 43 {
pascal@1643 44 mkdir -p $fs/usr
pascal@15583 45 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21441 46
domcox@12171 47 mkdir -p $fs/etc
domcox@12171 48 touch $fs$CONFIG_FILES
pascal@1643 49 }