wok-next diff minicom/receipt @ rev 20678
Up clisp (2.50)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 15 02:59:03 2018 +0300 (2018-05-15) |
parents | bb009a6ef036 |
children | 543aac398ffd |
line diff
1.1 --- a/minicom/receipt Sat Nov 30 15:44:51 2013 +0000 1.2 +++ b/minicom/receipt Tue May 15 02:59:03 2018 +0300 1.3 @@ -1,39 +1,29 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="minicom" 1.8 VERSION="2.6" 1.9 CATEGORY="development" 1.10 -SHORT_DESC="menu driven communications program" 1.11 +SHORT_DESC="Menu driven communications program" 1.12 MAINTAINER="f.lombard@free.fr" 1.13 LICENSE="GPL2" 1.14 +WEB_SITE="http://alioth.debian.org/projects/minicom/" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.17 -WEB_SITE="http://alioth.debian.org/projects/minicom/" 1.18 WGET_URL="http://alioth.debian.org/frs/download.php/3195/$PACKAGE/$TARBALL" 1.19 -CONFIG_FILES="/etc/minirc.dfl" 1.20 1.21 -DEPENDS="ncurses" 1.22 BUILD_DEPENDS="ncurses-dev" 1.23 1.24 -# Rules to configure and make the package. 1.25 -compile_rules() 1.26 -{ 1.27 - cd $src 1.28 +compile_rules() { 1.29 sed -i 's/getline/get_line/' src/minicom.c 1.30 - ./configure \ 1.31 - --sysconfdir=/etc \ 1.32 - --prefix=/usr \ 1.33 - --infodir=/usr/share/info \ 1.34 - --mandir=/usr/share/man \ 1.35 - $CONFIGURE_ARGS && 1.36 + ./configure $CONFIGURE_ARGS && 1.37 make && 1.38 - make DESTDIR=$DESTDIR install 1.39 + make DESTDIR=$DESTDIR install || return 1 1.40 + 1.41 + touch $install/etc/minirc.dfl 1.42 } 1.43 1.44 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.45 -genpkg_rules() 1.46 -{ 1.47 - mkdir -p $fs/usr 1.48 - cp -a $install/usr/bin $fs/usr 1.49 - mkdir -p $fs/etc 1.50 - touch $fs$CONFIG_FILES 1.51 +genpkg_rules() { 1.52 + copy @std 1.53 + DEPENDS="ncurses" 1.54 + CONFIG_FILES="/etc/minirc.dfl" 1.55 }