wok view setserial/receipt @ rev 17539
apulse: add deps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jan 25 14:19:52 2015 +0100 (2015-01-25) |
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 }