wok-6.x annotate setserial/receipt @ rev 23066
remove nagvis-flex
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 09 18:55:03 2020 +0100 (2020-03-09) |
parents | 3b4e4318134e |
children | e919c5a2742d |
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@15593 | 8 LICENSE="GPL" |
pascal@1650 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@1650 | 10 WEB_SITE="http://setserial.sourceforge.net/" |
pascal@1650 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@16630 | 12 HOST_ARCH="i486 arm" |
pascal@1650 | 13 |
pascal@1650 | 14 # Rules to configure and make the package. |
pascal@1650 | 15 compile_rules() |
pascal@1650 | 16 { |
pascal@15593 | 17 mkdir -p $DESTDIR/usr/bin |
erjo@5892 | 18 |
erjo@5892 | 19 # http://bugs.gentoo.org/309883 |
erjo@5892 | 20 # & remove warnings |
pascal@8974 | 21 patch -p1 < $stuff/setserial-2.17.u || return 1 |
erjo@5892 | 22 |
pankso@16630 | 23 ./configure \ |
pankso@16630 | 24 --prefix=/usr \ |
pankso@16630 | 25 $CONFIGURE_ARGS && |
pascal@1650 | 26 make $PACKAGE && |
pascal@15593 | 27 install -m 755 $PACKAGE $DESTDIR/usr/bin |
pascal@1650 | 28 } |
pascal@1650 | 29 |
pascal@1650 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1650 | 31 genpkg_rules() |
pascal@1650 | 32 { |
pascal@15593 | 33 cp -a $install/usr $fs |
pascal@1650 | 34 } |
pascal@1650 | 35 |