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

minicom: fix typo
author Dominique Corbex <domcox@slitaz.org>
date Thu Mar 22 20:35:49 2012 +0100 (2012-03-22)
parents 2bc03f7afbf5
children b9cf3c10b92e
line source
1 # SliTaz package receipt.
3 PACKAGE="minicom"
4 VERSION="2.6"
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 \
20 --sysconfdir=/etc \
21 --prefix=/usr \
22 --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr
33 cp -a $_pkg/usr/bin $fs/usr
34 }
36 post_install()
37 {
38 touch /etc/minirc.dfl
39 }
41 pre_remove()
42 {
43 [ -e /etc/minirc.dfl ] && rm -f /etc/minirc.dfl
44 }