wok-current view setserial/receipt @ rev 16395

UP: hostapd (2.1), fix libnl missing pkgconfig file and add to ARM with rfkill
author Christophe Lincoln <pankso@slitaz.org>
date Wed Apr 16 03:02:41 2014 +0200 (2014-04-16)
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 }