wok-next view minicom/receipt @ rev 16693
slitaz-icon: workaround tarball
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri May 23 05:21:33 2014 +0300 (2014-05-23) |
parents | b9cf3c10b92e |
children | 757d032c55c7 |
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://alioth.debian.org/projects/minicom/"
11 WGET_URL="http://alioth.debian.org/frs/download.php/3195/$PACKAGE/$TARBALL"
12 CONFIG_FILES="/etc/minirc.dfl"
14 DEPENDS="ncurses"
15 BUILD_DEPENDS="ncurses-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 sed -i 's/getline/get_line/' src/minicom.c
22 ./configure \
23 --sysconfdir=/etc \
24 --prefix=/usr \
25 --infodir=/usr/share/info \
26 --mandir=/usr/share/man \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr
36 cp -a $install/usr/bin $fs/usr
37 mkdir -p $fs/etc
38 touch $fs$CONFIG_FILES
39 }