wok-6.x annotate ijs/receipt @ rev 22678
cookutils: do not break build env !
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 18 16:22:42 2020 +0100 (2020-01-18) |
parents | |
children | af8d823a3077 |
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 |
mojo@17839 | 16 # Rules to configure and make the package. |
mojo@17839 | 17 compile_rules() |
mojo@17839 | 18 { |
mojo@17839 | 19 ./configure \ |
mojo@17839 | 20 --prefix=/usr \ |
mojo@17839 | 21 --mandir=/usr/share/man \ |
mojo@17839 | 22 --enable-shared \ |
mojo@17839 | 23 --disable-static \ |
mojo@17839 | 24 $CONFIGURE_ARGS && 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 { |
mojo@17839 | 30 mkdir -p $fs/usr/lib |
mojo@17839 | 31 cp -a $install/usr/bin $fs/usr |
mojo@17839 | 32 cp -a $install/usr/lib/*.so* $fs/usr/lib |
mojo@17839 | 33 } |