wok-stable view setserial/receipt @ rev 9865

nagios: fix build
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Mon May 16 21:08:43 2011 +0200 (2011-05-16)
parents 0b4cf0d9e1b5
children
line source
1 # SliTaz package receipt.
3 PACKAGE="setserial"
4 VERSION="2.17"
5 CATEGORY="system-tools"
6 SHORT_DESC="Serial port configutation tool."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://setserial.sourceforge.net/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 mkdir -p _pkg/usr/bin
18 # http://bugs.gentoo.org/309883
19 # & remove warnings
20 patch -p1 < $stuff/setserial-2.17.u || return 1
22 ./configure --prefix=/usr --infodir=/usr/share/info \
23 --mandir=/usr/share/man $CONFIGURE_ARGS &&
24 make $PACKAGE &&
25 install -m 755 $PACKAGE _pkg/usr/bin
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 cp -a $_pkg/usr $fs
32 }