wok-6.x annotate minicom/receipt @ rev 9676
Fixed tazdev. Tazwok uses mercurial| not hg| in WGET_URL.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed May 04 16:22:49 2011 +0000 (2011-05-04) |
parents | 05fbc7d7fe51 |
children | 2bc03f7afbf5 |
rev | line source |
---|---|
pascal@1643 | 1 # SliTaz package receipt. |
pascal@1643 | 2 |
pascal@1643 | 3 PACKAGE="minicom" |
devl547@5623 | 4 VERSION="2.4" |
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" |
pascal@1643 | 13 |
pascal@1643 | 14 # Rules to configure and make the package. |
pascal@1643 | 15 compile_rules() |
pascal@1643 | 16 { |
pascal@1643 | 17 cd $src |
pascal@4276 | 18 sed -i 's/getline/get_line/' src/minicom.c |
pascal@1643 | 19 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@1643 | 20 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@1643 | 21 make && |
pascal@1643 | 22 make DESTDIR=$PWD/_pkg install |
pascal@1643 | 23 } |
pascal@1643 | 24 |
pascal@1643 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1643 | 26 genpkg_rules() |
pascal@1643 | 27 { |
pascal@1643 | 28 mkdir -p $fs/usr |
pascal@1643 | 29 cp -a $_pkg/usr/bin $fs/usr |
pascal@1643 | 30 } |
pascal@1643 | 31 |