wok-current annotate setserial/receipt @ rev 12614
xfmpc: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 29 09:52:13 2012 +0200 (2012-04-29) |
parents | 0b4cf0d9e1b5 |
children | 3b4e4318134e |
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 |
pascal@8974 | 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 |