wok view minicom/receipt @ rev 13136

wesnoth: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 08 16:36:30 2012 +0200 (2012-07-08)
parents 612d6ddb234f
children bb009a6ef036
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"
13 CONFIG_FILES="/etc/minirc.dfl"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 sed -i 's/getline/get_line/' src/minicom.c
20 ./configure \
21 --sysconfdir=/etc \
22 --prefix=/usr \
23 --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a $_pkg/usr/bin $fs/usr
35 mkdir -p $fs/etc
36 touch $fs$CONFIG_FILES
37 }