wok-6.x annotate minicom/receipt @ rev 17549
fatattr: fix fatattr.sh --restore
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jan 29 15:49:38 2015 +0100 (2015-01-29) |
parents | b9cf3c10b92e |
children | eeba7ab1dffe |
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@1643 | 10 WEB_SITE="http://alioth.debian.org/projects/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 } |