wok annotate scribus/receipt @ rev 25540
Update some web_site/wget_url with https
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 09 18:12:54 2023 +0000 (20 months ago) |
parents | a78610b2eb47 |
children | 29df00e1e19d |
rev | line source |
---|---|
pascal@3899 | 1 # SliTaz package receipt. |
pascal@3899 | 2 |
pascal@3899 | 3 PACKAGE="scribus" |
psychomaniak@18853 | 4 VERSION="1.4.6" |
pascal@3899 | 5 CATEGORY="office" |
pascal@3899 | 6 SHORT_DESC="professional publishing software." |
pascal@3899 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15002 | 8 LICENSE="GPL2" |
psychomaniak@18853 | 9 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pascal@20669 | 10 WEB_SITE="https://www.scribus.net/" |
pascal@3899 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@15002 | 12 |
pascal@3903 | 13 DEPENDS="ghostscript libQtGui libQtXml libQtNetwork cups lcms libxml2 \ |
pascal@3903 | 14 gcc-lib-base aspell python krb5 podofo" |
pascal@8937 | 15 BUILD_DEPENDS="cmake qmake Qt4-dev freetype freetype-dev \ |
pascal@3899 | 16 cairo cairo-dev tiff tiff-dev lcms lcms-dev jpeg jpeg-dev libpng libpng-dev \ |
pascal@6109 | 17 cups cups-dev fontconfig fontconfig-dev libxml2 libxml2-dev podofo-dev \ |
pascal@3899 | 18 ghostscript python python-dev python-pil pkg-config aspell aspell-dev \ |
pascal@3899 | 19 libboost-dev openssl openssl-dev zlib tk" |
pascal@3899 | 20 |
pascal@24348 | 21 # What is the latest version available today? |
pascal@24348 | 22 current_version() |
pascal@24348 | 23 { |
pascal@24348 | 24 wget -O - https://sourceforge.net/projects/scribus/files/scribus/ 2>/dev/null | \ |
pascal@24348 | 25 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24348 | 26 sed '/scope="row/!d;s|.*/scribus/||;s|/.*||;q' |
pascal@24348 | 27 } |
pascal@24348 | 28 |
pascal@3899 | 29 # Rules to configure and make the package. |
pascal@3899 | 30 compile_rules() |
pascal@3899 | 31 { |
pascal@3899 | 32 cmake -DCMAKE_INSTALL_PREFIX=/usr . && |
gokhlayeh@11574 | 33 make $MAKEFLAGS && |
pascal@15002 | 34 make DESTDIR=$DESTDIR install |
pascal@3899 | 35 } |
pascal@3899 | 36 |
pascal@3899 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@3899 | 38 genpkg_rules() |
pascal@3899 | 39 { |
pascal@3899 | 40 mkdir -p $fs/usr/share $fs/usr/lib |
pascal@15002 | 41 cp -a $install/usr/share/scribus $fs/usr/share |
pascal@15002 | 42 cp -a $install/usr/lib/scribus $fs/usr/lib |
pascal@15002 | 43 cp -a $install/usr/bin $fs/usr |
pascal@15002 | 44 cp -a $install/usr/share/mimelnk $fs/usr/share |
pascal@3899 | 45 cp -a stuff/* $fs |
pascal@3899 | 46 } |
pascal@3899 | 47 |