wok-next diff getmail/receipt @ rev 20825

perl-dbd-mysql: typo in $WGET_URL
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jun 14 01:06:23 2018 +0300 (2018-06-14)
parents 16df76e1fc6a
children d5aab818505e
line diff
     1.1 --- a/getmail/receipt	Fri May 22 17:34:18 2015 +0300
     1.2 +++ b/getmail/receipt	Thu Jun 14 01:06:23 2018 +0300
     1.3 @@ -1,29 +1,24 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6 +
     1.7  PACKAGE="getmail"
     1.8  VERSION="4.41.0"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="A simple mail retrieval agent intended as a replacement for fetchmail."
    1.11 +SHORT_DESC="A simple mail retrieval agent intended as a replacement for fetchmail"
    1.12  MAINTAINER="claudinei@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="http://pyropus.ca/software/getmail"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="http://pyropus.ca/software/getmail"
    1.18  WGET_URL="$WEB_SITE/old-versions/$TARBALL"
    1.19  
    1.20 -DEPENDS="python"
    1.21 -BUILD_DEPENDS="python python-dev"
    1.22 +BUILD_DEPENDS="python-dev"
    1.23  
    1.24 -# Rules to configure and make the package.
    1.25 -compile_rules()
    1.26 -{
    1.27 -	python setup.py build
    1.28 -	python setup.py install --root=$DESTDIR || return 1
    1.29 +compile_rules() {
    1.30 +	python setup.py build &&
    1.31 +	python setup.py install --root=$DESTDIR
    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/share
    1.38 -	cp -a $install/usr/bin $fs/usr
    1.39 -	cp -a $install/usr/lib $fs/usr
    1.40 -	cp -a $install/usr/share/doc $fs/usr/share
    1.41 +genpkg_rules() {
    1.42 +	copy @std
    1.43 +	DEPENDS="python"
    1.44  }