wok-next view minicom/receipt @ rev 7448
gecko-mediaplayer: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Nov 30 12:49:24 2010 +0100 (2010-11-30) |
parents | 967b60d00488 |
children | 02bbaa9d12ba |
line source
1 # SliTaz package receipt.
3 PACKAGE="minicom"
4 VERSION="2.4"
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/3195/$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 }