wok-next view setserial/receipt @ rev 11218

Add from wok-undigest: buildroot cairo-compmgr catfish cdrtools collectd collectd-apache collectd-bind collectd-dev
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 03 22:14:55 2011 +0100 (2011-11-03)
parents 0b4cf0d9e1b5
children 3b4e4318134e
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 }