wok annotate minicom/receipt @ rev 8792
Fix compile_rules() for gitmail
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Tue Feb 22 23:44:49 2011 +0100 (2011-02-22) |
parents | 967b60d00488 |
children | 02bbaa9d12ba |
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 strip -s $fs/usr/bin/* |
pascal@1643 | 31 } |
pascal@1643 | 32 |