wok-6.x view minicom/receipt @ rev 4276

minicom: fix build with glibc-2.10
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 26 00:15:15 2009 +0200 (2009-09-26)
parents 3f1a7134d9e3
children 05fbc7d7fe51
line source
1 # SliTaz package receipt.
3 PACKAGE="minicom"
4 VERSION="2.3"
5 CATEGORY="development"
6 SHORT_DESC="menu driven communications program"
7 MAINTAINER="f.lombard@free.fr"
8 DEPENDS="ncurses"
9 BUILD_DEPENDS="ncurses-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://alioth.debian.org/projects/minicom/"
12 WGET_URL="http://alioth.debian.org/frs/download.php/2332/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 sed -i 's/getline/get_line/' src/minicom.c
19 ./configure --prefix=/usr --infodir=/usr/share/info \
20 --mandir=/usr/share/man $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $_pkg/usr/bin $fs/usr
30 strip -s $fs/usr/bin/*
31 }