wok-4.x view setserial/receipt @ rev 8757
Fixed codeblocks.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Feb 20 20:53:28 2011 +0000 (2011-02-20) |
parents | 3584961ee6c6 |
children | 940b5937e496 |
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://setserial.sourceforge.net/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 mkdir -p _pkg/usr/bin
18 # http://bugs.gentoo.org/309883
19 # & remove warnings
20 patch -p1 < ../stuff/setserial-2.17.u || return 1
22 ./configure --prefix=/usr --infodir=/usr/share/info \
23 --mandir=/usr/share/man $CONFIGURE_ARGS &&
24 make $PACKAGE &&
25 install -m 755 $PACKAGE _pkg/usr/bin
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 cp -a $_pkg/usr $fs
32 }