wok annotate ijs/receipt @ rev 25695

sc-im: replaced released version by development version
author Hans-G?nter Theisgen
date Fri Apr 26 08:13:41 2024 +0100 (2 weeks ago)
parents af8d823a3077
children
rev   line source
mojo@17839 1 # SliTaz package receipt.
mojo@17839 2
mojo@17839 3 PACKAGE="ijs"
mojo@17839 4 VERSION="0.35"
mojo@17839 5 CATEGORY="office"
mojo@17839 6 SHORT_DESC="IJS API function"
mojo@17839 7 MAINTAINER="mojo@slitaz.org"
mojo@17839 8 LICENSE="GPL3"
pascal@25540 9 WEB_SITE="https://openprinting.org/"
mojo@17839 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
mojo@17839 11 WGET_URL="https://www.openprinting.org/download/ijs/download/$TARBALL"
mojo@17839 12
mojo@17839 13 DEPENDS=""
mojo@17839 14 BUILD_DEPENDS="wget"
mojo@17839 15
pascal@24445 16 # What is the latest version available today?
pascal@24445 17 current_version()
pascal@24445 18 {
pascal@24445 19 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24445 20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
pascal@24445 21 }
pascal@24445 22
mojo@17839 23 # Rules to configure and make the package.
mojo@17839 24 compile_rules()
mojo@17839 25 {
mojo@17839 26 ./configure \
mojo@17839 27 --prefix=/usr \
mojo@17839 28 --mandir=/usr/share/man \
mojo@17839 29 --enable-shared \
mojo@17839 30 --disable-static \
mojo@17839 31 $CONFIGURE_ARGS && make && make install
mojo@17839 32 }
mojo@17839 33
mojo@17839 34 # Rules to gen a SliTaz package suitable for Tazpkg.
mojo@17839 35 genpkg_rules()
mojo@17839 36 {
mojo@17839 37 mkdir -p $fs/usr/lib
mojo@17839 38 cp -a $install/usr/bin $fs/usr
mojo@17839 39 cp -a $install/usr/lib/*.so* $fs/usr/lib
mojo@17839 40 }