wok annotate minicom/receipt @ rev 13229
Move from undigest: fbgrab
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 14 13:38:56 2012 +0200 (2012-08-14) |
parents | 612d6ddb234f |
children | bb009a6ef036 |
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@1643 | 8 DEPENDS="ncurses" |
pascal@1643 | 9 BUILD_DEPENDS="ncurses-dev" |
pascal@1643 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@1643 | 11 WEB_SITE="http://alioth.debian.org/projects/minicom/" |
devl547@5623 | 12 WGET_URL="http://alioth.debian.org/frs/download.php/3195/$PACKAGE/$TARBALL" |
domcox@12171 | 13 CONFIG_FILES="/etc/minirc.dfl" |
pascal@1643 | 14 |
pascal@1643 | 15 # Rules to configure and make the package. |
pascal@1643 | 16 compile_rules() |
pascal@1643 | 17 { |
pascal@1643 | 18 cd $src |
pascal@4276 | 19 sed -i 's/getline/get_line/' src/minicom.c |
domcox@12168 | 20 ./configure \ |
domcox@12168 | 21 --sysconfdir=/etc \ |
domcox@12168 | 22 --prefix=/usr \ |
domcox@12168 | 23 --infodir=/usr/share/info \ |
domcox@12168 | 24 --mandir=/usr/share/man \ |
domcox@12168 | 25 $CONFIGURE_ARGS && |
pascal@1643 | 26 make && |
pascal@1643 | 27 make DESTDIR=$PWD/_pkg install |
pascal@1643 | 28 } |
pascal@1643 | 29 |
pascal@1643 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1643 | 31 genpkg_rules() |
pascal@1643 | 32 { |
pascal@1643 | 33 mkdir -p $fs/usr |
pascal@1643 | 34 cp -a $_pkg/usr/bin $fs/usr |
domcox@12171 | 35 mkdir -p $fs/etc |
domcox@12171 | 36 touch $fs$CONFIG_FILES |
pascal@1643 | 37 } |
pascal@1643 | 38 |