wok-next annotate mtop/receipt @ rev 21094

Apply "force-arch" for selected dev packages
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Dec 31 17:23:40 2018 +0200 (2018-12-31)
parents d5aab818505e
children
rev   line source
al@20527 1 # SliTaz package receipt v2.
pascal@1744 2
pascal@1744 3 PACKAGE="mtop"
pascal@1744 4 VERSION="0.6.6"
pascal@1744 5 CATEGORY="system-tools"
al@20527 6 SHORT_DESC="Monitors a MySQL server"
pascal@1744 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15002 8 LICENSE="GPL2"
al@20527 9 WEB_SITE="http://mtop.sourceforge.net/"
al@20527 10
pascal@1744 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@1744 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@15002 13
al@21094 14 COOKOPTS="force-arch" # different bin/*
al@21094 15
pascal@1744 16 BUILD_DEPENDS="perl-curses perl-dbd-mysql"
pascal@1744 17
al@20527 18 compile_rules() {
pascal@1748 19 perl Makefile.PL --prefix=/usr &&
pascal@1744 20 make &&
al@21094 21 make DESTDIR=$install install || return 1
al@21094 22
al@21094 23 chmod u+w $install/usr/bin/* # 555->755
pascal@1744 24 }
pascal@1744 25
al@20527 26 genpkg_rules() {
al@20527 27 copy @std
al@20527 28 DEPENDS="perl-curses perl-dbd-mysql"
pascal@1744 29 }