wok-next annotate setserial/receipt @ rev 16315

ARM: add/up vala (0.24.0) + shared-mime-info (hope it will fix some gtk crash)
author Christophe Lincoln <pankso@slitaz.org>
date Wed Apr 09 14:57:01 2014 +0200 (2014-04-09)
parents 940b5937e496
children d6288bc06bc4
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"
pascal@1650 12
pascal@1650 13 # Rules to configure and make the package.
pascal@1650 14 compile_rules()
pascal@1650 15 {
pascal@1650 16 cd $src
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
pascal@1650 23 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@1650 24 --mandir=/usr/share/man $CONFIGURE_ARGS &&
pascal@1650 25 make $PACKAGE &&
pascal@15593 26 install -m 755 $PACKAGE $DESTDIR/usr/bin
pascal@1650 27 }
pascal@1650 28
pascal@1650 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1650 30 genpkg_rules()
pascal@1650 31 {
pascal@15593 32 cp -a $install/usr $fs
pascal@1650 33 }
pascal@1650 34