wok-6.x annotate minicom/receipt @ rev 21310

2) menu-cache: up (1.1.0)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Apr 18 17:35:09 2019 +0300 (2019-04-18)
parents bb009a6ef036
children 144587e79c1d
rev   line source
pascal@1643 1 # SliTaz package receipt.
pascal@1643 2
pascal@1643 3 PACKAGE="minicom"
domcox@12168 4 VERSION="2.6"
pascal@1643 5 CATEGORY="development"
pascal@1643 6 SHORT_DESC="menu driven communications program"
pascal@1643 7 MAINTAINER="f.lombard@free.fr"
pascal@15583 8 LICENSE="GPL2"
pascal@1643 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@20674 10 WEB_SITE="https://salsa.debian.org/minicom-team/minicom"
devl547@5623 11 WGET_URL="http://alioth.debian.org/frs/download.php/3195/$PACKAGE/$TARBALL"
domcox@12171 12 CONFIG_FILES="/etc/minirc.dfl"
pascal@1643 13
pascal@15583 14 DEPENDS="ncurses"
pascal@15583 15 BUILD_DEPENDS="ncurses-dev"
pascal@15583 16
pascal@1643 17 # Rules to configure and make the package.
pascal@1643 18 compile_rules()
pascal@1643 19 {
pascal@1643 20 cd $src
pascal@4276 21 sed -i 's/getline/get_line/' src/minicom.c
domcox@12168 22 ./configure \
domcox@12168 23 --sysconfdir=/etc \
domcox@12168 24 --prefix=/usr \
domcox@12168 25 --infodir=/usr/share/info \
domcox@12168 26 --mandir=/usr/share/man \
domcox@12168 27 $CONFIGURE_ARGS &&
pascal@1643 28 make &&
pascal@15583 29 make DESTDIR=$DESTDIR install
pascal@1643 30 }
pascal@1643 31
pascal@1643 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1643 33 genpkg_rules()
pascal@1643 34 {
pascal@1643 35 mkdir -p $fs/usr
pascal@15583 36 cp -a $install/usr/bin $fs/usr
domcox@12171 37 mkdir -p $fs/etc
domcox@12171 38 touch $fs$CONFIG_FILES
pascal@1643 39 }