wok-next annotate libsoup/receipt @ rev 16668

Add tesseract-ocr
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 14 12:14:30 2014 +0000 (2014-05-14)
parents a00bf44ed23d
children 6f8fd1c4de21
rev   line source
jozee@2729 1 # SliTaz package receipt.
jozee@2729 2
jozee@2729 3 PACKAGE="libsoup"
domcox@12886 4 VERSION="2.38.1"
pankso@2743 5 CATEGORY="x-window"
pankso@2743 6 SHORT_DESC="GNOME Soup Library."
pankso@2743 7 MAINTAINER="pankso@slitaz.org"
pascal@15004 8 LICENSE="LGPL2"
domcox@12886 9 TARBALL="$PACKAGE-$VERSION.tar.xz"
domcox@12886 10 WEB_SITE="https://live.gnome.org/LibSoup/"
slaxemulator@10165 11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
pankso@16258 12 HOST_ARCH="i486 arm"
jozee@2729 13
pankso@16258 14 DEPENDS="glibc-base libxml2 zlib glib glib-networking libgio gtk+ \
pankso@16258 15 libgnutls libtasn1 libgcrypt"
pankso@16258 16 BUILD_DEPENDS="gtk+-dev glib-networking-dev libgio libgio-dev \
pankso@16258 17 libxml2-dev libgcrypt-dev libtasn1-dev gnutls-dev zlib-dev"
pankso@16258 18
pankso@16258 19 # Handle cross compilation.
pankso@16258 20 case "$ARCH" in
pankso@16258 21 i?86) BUILD_DEPENDS="$BUILD_DEPENDS gobject-introspection-dev" ;;
pankso@16258 22 esac
slaxemulator@10803 23
jozee@2729 24 # Rules to configure and make the package.
jozee@2729 25 compile_rules()
jozee@2729 26 {
jozee@2729 27 ./configure \
pankso@2743 28 --with-html-dir=/usr/share/doc \
pankso@2743 29 --disable-gtk-doc \
pankso@2743 30 --without-gnome \
pankso@2743 31 $CONFIGURE_ARGS &&
pankso@16258 32 make && make install
jozee@2729 33 }
jozee@2729 34
jozee@2729 35 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@2729 36 genpkg_rules()
jozee@2729 37 {
pankso@2743 38 mkdir -p $fs/usr/lib
pascal@14718 39 cp -a $install/usr/lib/*.so* $fs/usr/lib
jozee@2729 40 }
pankso@2743 41