wok-next view setserial/receipt @ rev 15818

Up: tiff to 4.0.3.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Jan 24 06:37:27 2014 +0000 (2014-01-24)
parents 940b5937e496
children d6288bc06bc4
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 LICENSE="GPL"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://setserial.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 mkdir -p $DESTDIR/usr/bin
19 # http://bugs.gentoo.org/309883
20 # & remove warnings
21 patch -p1 < $stuff/setserial-2.17.u || return 1
23 ./configure --prefix=/usr --infodir=/usr/share/info \
24 --mandir=/usr/share/man $CONFIGURE_ARGS &&
25 make $PACKAGE &&
26 install -m 755 $PACKAGE $DESTDIR/usr/bin
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cp -a $install/usr $fs
33 }