wok-next annotate ijs/receipt @ rev 20564

shell-detector, screenfetch: create $install tree
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 10 10:14:26 2018 +0200 (2018-04-10)
parents f463de72afe3
children 0ec6086e21d6
rev   line source
al@19796 1 # SliTaz package receipt v2.
mojo@17839 2
mojo@17839 3 PACKAGE="ijs"
mojo@17839 4 VERSION="0.35"
mojo@17839 5 CATEGORY="office"
al@19681 6 SHORT_DESC="IJS (InkJet Server) API function"
mojo@17839 7 MAINTAINER="mojo@slitaz.org"
mojo@17839 8 LICENSE="GPL3"
al@19681 9 WEB_SITE="https://wiki.linuxfoundation.org/openprinting/start"
al@19681 10
mojo@17839 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
mojo@17839 12 WGET_URL="https://www.openprinting.org/download/ijs/download/$TARBALL"
mojo@17839 13
al@19681 14 BUILD_DEPENDS="gfortran"
al@19796 15 SPLIT="ijs-dev"
mojo@17839 16
mojo@17839 17 # Rules to configure and make the package.
mojo@17839 18 compile_rules()
mojo@17839 19 {
mojo@17839 20 ./configure \
al@19681 21 --enable-shared \
al@19681 22 --disable-static \
al@19681 23 $CONFIGURE_ARGS &&
al@19681 24 make && make install
mojo@17839 25 }
mojo@17839 26
mojo@17839 27 # Rules to gen a SliTaz package suitable for Tazpkg.
mojo@17839 28 genpkg_rules()
mojo@17839 29 {
al@19796 30 case $PACKAGE in
al@19796 31 ijs) copy @std;;
al@19796 32 *-dev) copy @dev;;
al@19796 33 esac
mojo@17839 34 }