wok-next diff vacation/receipt @ rev 20712

libtorrent: fix rtorrent building for non-64bit archs
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun May 27 12:13:53 2018 +0300 (2018-05-27)
parents 2a21689b0af7
children 0ed3f456a542
line diff
     1.1 --- a/vacation/receipt	Thu Oct 03 09:52:57 2013 +0000
     1.2 +++ b/vacation/receipt	Sun May 27 12:13:53 2018 +0300
     1.3 @@ -1,31 +1,25 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="vacation"
     1.8  VERSION="1.2.7.0"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="automatic mail-answering program."
    1.11 +SHORT_DESC="Automatic mail-answering program"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="http://www.csamuel.org/software/vacation"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="http://www.csamuel.org/software/vacation"
    1.18  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.19 -TAGS="email"
    1.20  
    1.21 -DEPENDS="gdbm"
    1.22  BUILD_DEPENDS="gdbm-dev"
    1.23  
    1.24 -# Rules to configure and make the package.
    1.25 -compile_rules()
    1.26 -{
    1.27 -	cd $src
    1.28 -	sed -i 's/uname -m/echo i386/' Makefile
    1.29 -	make
    1.30 +compile_rules() {
    1.31 +	make &&
    1.32 +	install -Dm755 $src/vacation $install/usr/bin/vacation
    1.33  }
    1.34  
    1.35 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.36 -genpkg_rules()
    1.37 -{
    1.38 -	mkdir -p $fs/usr/bin
    1.39 -	cp $src/vacation $fs/usr/bin
    1.40 +genpkg_rules() {
    1.41 +	copy @std
    1.42 +	DEPENDS="gdbm"
    1.43 +	TAGS="email"
    1.44  }
    1.45 -