wok-6.x annotate minicom/receipt @ rev 4953
UP ntfs-3g and ntfs-3g-dev
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Wed Feb 17 09:45:16 2010 +0000 (2010-02-17) |
parents | 3f1a7134d9e3 |
children | 05fbc7d7fe51 |
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@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 strip -s $fs/usr/bin/* |
pascal@1643 | 31 } |
pascal@1643 | 32 |