wok view ijs/receipt @ rev 24693
updated jwm (2.3.7 -> 2.4.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Mar 13 07:13:46 2022 +0100 (2022-03-13) |
parents | d1cd4ce1c286 |
children | 73f36875e5a7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="ijs"
4 VERSION="0.35"
5 CATEGORY="office"
6 SHORT_DESC="IJS API function"
7 MAINTAINER="mojo@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="http://openprinting.org"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="https://www.openprinting.org/download/ijs/download/$TARBALL"
13 DEPENDS=""
14 BUILD_DEPENDS="wget"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/*} 2>/dev/null | \
20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure \
27 --prefix=/usr \
28 --mandir=/usr/share/man \
29 --enable-shared \
30 --disable-static \
31 $CONFIGURE_ARGS && make && make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 }