wok-next diff Geomyidae/receipt @ rev 20607

perdition: up 2.2
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Apr 19 15:57:59 2018 +0300 (2018-04-19)
parents 11b5e93cb5f2
children
line diff
     1.1 --- a/Geomyidae/receipt	Tue Jul 05 15:34:01 2016 +0300
     1.2 +++ b/Geomyidae/receipt	Thu Apr 19 15:57:59 2018 +0300
     1.3 @@ -1,29 +1,25 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="Geomyidae"
     1.8  VERSION="0.26.1"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="Geomyidae is a daemon for serving the Gopher protocol."
    1.11 +SHORT_DESC="Geomyidae is a daemon for serving the Gopher protocol"
    1.12  MAINTAINER="allan316@gmail.com"
    1.13  LICENSE="MIT"
    1.14 -SOURCE="geomyidae"
    1.15 -TARBALL="$SOURCE-$VERSION.tar.gz"
    1.16  WEB_SITE="http://www.r-36.net/"
    1.17 +
    1.18 +TARBALL="geomyidae-$VERSION.tar.gz"
    1.19  WGET_URL="${WEB_SITE}src/$PACKAGE/$TARBALL"
    1.20  
    1.21 -# Rules to configure and make the package.
    1.22 -compile_rules()
    1.23 -{
    1.24 +compile_rules() {
    1.25  	# Move man page to the right place
    1.26  	sed -i 's|/man/|/share&|' $src/Makefile
    1.27  
    1.28 -	make && make DESTDIR=$DESTDIR install
    1.29 +	make && make DESTDIR=$DESTDIR install || return 1
    1.30 +
    1.31 +	install -Dm644 $src/index.gph $install/var/gopher/index.gph
    1.32  }
    1.33  
    1.34 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.35 -genpkg_rules()
    1.36 -{
    1.37 -	mkdir -p $fs/usr $fs/var/gopher
    1.38 -	cp -a $src/index.gph $fs/var/gopher/
    1.39 -	cp -a $install/usr/bin $fs/usr
    1.40 +genpkg_rules() {
    1.41 +	copy @std
    1.42  }