wok view setserial/receipt @ rev 15926

Up 8086tiny (1.20)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Feb 21 10:48:12 2014 +0000 (2014-02-21)
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 }