wok-current annotate ijs/receipt @ rev 24557
updated fltk packages (1.3.5 -> 1.3.8)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 25 15:09:26 2022 +0100 (2022-02-25) |
parents | d1cd4ce1c286 |
children | 73f36875e5a7 |
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" |
mojo@17839 | 9 WEB_SITE="http://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 } |