wok-next annotate setserial/receipt @ rev 5892

setserial: fix build (http://bugs.gentoo.org/309883)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Jul 22 10:00:04 2010 +0200 (2010-07-22)
parents dfadaaf136ef
children 0b4cf0d9e1b5
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
erjo@5892 20 patch -p1 < ../stuff/setserial-2.17.u || exit 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