wok view setserial/receipt @ rev 8221

imported patch cleanup_inprogress/slitaz-i18n.patch
author Antoine Bodin <gokhlayeh@slitaz.org>
date Thu Jan 27 00:20:50 2011 +0100 (2011-01-27)
parents dfadaaf136ef
children 0b4cf0d9e1b5
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 || exit 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 }