wok-current rev 1650

Add setserial
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 08 13:37:28 2008 +0000 (2008-11-08)
parents df0ba7a1b7e1
children 93342d3d3ff1
files setserial/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/setserial/receipt	Sat Nov 08 13:37:28 2008 +0000
     1.3 @@ -0,0 +1,28 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="setserial"
     1.7 +VERSION="2.17"
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="Serial port configutation tool."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.12 +WEB_SITE="http://setserial.sourceforge.net/"
    1.13 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.14 +
    1.15 +# Rules to configure and make the package.
    1.16 +compile_rules()
    1.17 +{
    1.18 +	cd $src
    1.19 +	mkdir -p _pkg/usr/bin
    1.20 +	./configure --prefix=/usr --infodir=/usr/share/info \
    1.21 +	--mandir=/usr/share/man $CONFIGURE_ARGS &&
    1.22 +	make $PACKAGE &&
    1.23 +	install -m 755 $PACKAGE _pkg/usr/bin
    1.24 +}
    1.25 +
    1.26 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.27 +genpkg_rules()
    1.28 +{
    1.29 +	cp -a $_pkg/usr $fs
    1.30 +}
    1.31 +