wok-6.x annotate setserial/receipt @ rev 2059
Add socat
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jan 21 10:56:35 2009 +0000 (2009-01-21) |
parents | |
children | 3584961ee6c6 |
rev | line source |
---|---|
pascal@1650 | 1 # SliTaz package receipt. |
pascal@1650 | 2 |
pascal@1650 | 3 PACKAGE="setserial" |
pascal@1650 | 4 VERSION="2.17" |
pascal@1650 | 5 CATEGORY="system-tools" |
pascal@1650 | 6 SHORT_DESC="Serial port configutation tool." |
pascal@1650 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1650 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@1650 | 9 WEB_SITE="http://setserial.sourceforge.net/" |
pascal@1650 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@1650 | 11 |
pascal@1650 | 12 # Rules to configure and make the package. |
pascal@1650 | 13 compile_rules() |
pascal@1650 | 14 { |
pascal@1650 | 15 cd $src |
pascal@1650 | 16 mkdir -p _pkg/usr/bin |
pascal@1650 | 17 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@1650 | 18 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@1650 | 19 make $PACKAGE && |
pascal@1650 | 20 install -m 755 $PACKAGE _pkg/usr/bin |
pascal@1650 | 21 } |
pascal@1650 | 22 |
pascal@1650 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1650 | 24 genpkg_rules() |
pascal@1650 | 25 { |
pascal@1650 | 26 cp -a $_pkg/usr $fs |
pascal@1650 | 27 } |
pascal@1650 | 28 |