wok-6.x annotate setserial/receipt @ rev 8749

Up: glibc 2.13 (again)
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sun Feb 20 04:57:30 2011 +0100 (2011-02-20)
parents 3584961ee6c6
children 940b5937e496
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
erjo@5892 17
erjo@5892 18 # http://bugs.gentoo.org/309883
erjo@5892 19 # & remove warnings
gokhlayeh@8615 20 patch -p1 < ../stuff/setserial-2.17.u || return 1
erjo@5892 21
pascal@1650 22 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@1650 23 --mandir=/usr/share/man $CONFIGURE_ARGS &&
pascal@1650 24 make $PACKAGE &&
pascal@1650 25 install -m 755 $PACKAGE _pkg/usr/bin
pascal@1650 26 }
pascal@1650 27
pascal@1650 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1650 29 genpkg_rules()
pascal@1650 30 {
pascal@1650 31 cp -a $_pkg/usr $fs
pascal@1650 32 }
pascal@1650 33