wok annotate setserial/receipt @ rev 17434
Up: wv (1.2.9)
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Sun Dec 07 11:41:39 2014 +0100 (2014-12-07) |
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 |