wok-current view minicom/receipt @ rev 19959
slim-theme-control: add compile_rules(); files processing following it.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat May 20 15:38:00 2017 +0300 (2017-05-20) |
parents | b9cf3c10b92e |
children | eeba7ab1dffe |
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 }