wok-next diff scribus/receipt @ rev 21047

Up tazpkg (971), cookutils (1095)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Nov 26 21:15:05 2018 +0200 (2018-11-26)
parents a244e109372e
children 5669e8b3be70
line diff
     1.1 --- a/scribus/receipt	Tue Aug 21 00:41:54 2018 +0300
     1.2 +++ b/scribus/receipt	Mon Nov 26 21:15:05 2018 +0200
     1.3 @@ -3,37 +3,35 @@
     1.4  PACKAGE="scribus"
     1.5  VERSION="1.4.6"
     1.6  CATEGORY="office"
     1.7 -SHORT_DESC="professional publishing software."
     1.8 +SHORT_DESC="Professional publishing software"
     1.9  MAINTAINER="pascal.bellard@slitaz.org"
    1.10  LICENSE="GPL2"
    1.11 +WEB_SITE="https://www.scribus.net/"
    1.12 +
    1.13  TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.14 -WEB_SITE="http://www.scribus.net/"
    1.15  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.16  
    1.17 -DEPENDS="ghostscript libQtGui libQtXml libQtNetwork cups lcms libxml2 \
    1.18 -gcc-lib-base aspell python krb5 podofo"
    1.19  BUILD_DEPENDS="cmake qmake Qt4-dev freetype freetype-dev \
    1.20  cairo cairo-dev tiff tiff-dev lcms lcms-dev jpeg jpeg-dev libpng16 libpng16-dev \
    1.21  cups cups-dev fontconfig fontconfig-dev libxml2 libxml2-dev podofo-dev \
    1.22  ghostscript python python-dev python-pil aspell aspell-dev \
    1.23  boost-dev openssl openssl-dev zlib tk"
    1.24  
    1.25 -# Rules to configure and make the package.
    1.26 -compile_rules()
    1.27 -{
    1.28 -	cmake -DCMAKE_INSTALL_PREFIX=/usr . &&
    1.29 +compile_rules() {
    1.30 +	cmake \
    1.31 +		-DCMAKE_INSTALL_PREFIX=/usr \
    1.32 +		. &&
    1.33  	make $MAKEFLAGS &&
    1.34 -	make DESTDIR=$DESTDIR install
    1.35 +	make DESTDIR=$install install
    1.36  }
    1.37  
    1.38 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.39 -genpkg_rules()
    1.40 -{
    1.41 +genpkg_rules() {
    1.42  	mkdir -p $fs/usr/share $fs/usr/lib
    1.43  	cp -a $install/usr/share/scribus $fs/usr/share
    1.44  	cp -a $install/usr/lib/scribus $fs/usr/lib
    1.45  	cp -a $install/usr/bin $fs/usr
    1.46  	cp -a $install/usr/share/mimelnk $fs/usr/share
    1.47 -	cp -a stuff/* $fs
    1.48 +	cp -a $stuff/* $fs
    1.49 +	DEPENDS="ghostscript libQtGui libQtXml libQtNetwork cups lcms libxml2 \
    1.50 +	gcc-lib-base aspell python krb5 podofo"
    1.51  }
    1.52 -