wok-4.x annotate minicom/receipt @ rev 1643
Add minicom (from Frederic Lombard)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 08 13:26:46 2008 +0000 (2008-11-08) |
parents | |
children | 967b60d00488 |
rev | line source |
---|---|
pascal@1643 | 1 # SliTaz package receipt. |
pascal@1643 | 2 |
pascal@1643 | 3 PACKAGE="minicom" |
pascal@1643 | 4 VERSION="2.3" |
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/" |
pascal@1643 | 12 WGET_URL="http://alioth.debian.org/frs/download.php/2332/$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@1643 | 18 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@1643 | 19 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@1643 | 20 make && |
pascal@1643 | 21 make DESTDIR=$PWD/_pkg install |
pascal@1643 | 22 } |
pascal@1643 | 23 |
pascal@1643 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1643 | 25 genpkg_rules() |
pascal@1643 | 26 { |
pascal@1643 | 27 mkdir -p $fs/usr |
pascal@1643 | 28 cp -a $_pkg/usr/bin $fs/usr |
pascal@1643 | 29 strip -s $fs/usr/bin/* |
pascal@1643 | 30 } |
pascal@1643 | 31 |