wok view setserial/receipt @ rev 16630

ARM: add setserial
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 11 11:24:26 2014 +0200 (2014-05-11)
parents 3b4e4318134e
children e919c5a2742d
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"
12 HOST_ARCH="i486 arm"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
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 \
24 --prefix=/usr \
25 $CONFIGURE_ARGS &&
26 make $PACKAGE &&
27 install -m 755 $PACKAGE $DESTDIR/usr/bin
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cp -a $install/usr $fs
34 }