wok-current annotate varka/receipt @ rev 18252
Add some lang packages for tesseract-ocr
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 03 16:02:13 2015 +0200 (2015-08-03) |
parents | |
children | b75a8bca8ff9 |
rev | line source |
---|---|
pascal@15723 | 1 # SliTaz package receipt. |
pascal@15723 | 2 |
pascal@15723 | 3 PACKAGE="varka" |
pascal@15723 | 4 VERSION="0.1" |
pascal@15723 | 5 CATEGORY="development" |
pascal@15723 | 6 SHORT_DESC="A library on top of gtk to build applications" |
pascal@15723 | 7 MAINTAINER="al.bobylev@gmail.com" |
pascal@15723 | 8 LICENSE="GPL3" |
pascal@15723 | 9 WEB_SITE="https://launchpad.net/varka" |
pascal@15723 | 10 BRANCH="15" |
pascal@15723 | 11 TARBALL="$PACKAGE-$BRANCH.tar.bz2" |
pascal@15723 | 12 WGET_URL="bzr|lp:varka" |
pascal@15723 | 13 |
pascal@15723 | 14 DEPENDS="gtk+3" |
pascal@15723 | 15 BUILD_DEPENDS="bazaar cmake gobject-introspection-dev gtk+3-dev libgio-dev vala" |
pascal@15723 | 16 |
pascal@15723 | 17 # Rules to configure and make the package. |
pascal@15723 | 18 compile_rules() |
pascal@15723 | 19 { |
pascal@15723 | 20 export LDFLAGS="$LDFLAGS $(pkg-config --libs gio-unix-2.0 gmodule-2.0)" |
pascal@15723 | 21 mkdir build && cd build |
pascal@15723 | 22 cmake .. -DCMAKE_INSTALL_PREFIX=/usr && \ |
pascal@15723 | 23 make && \ |
pascal@15723 | 24 make DESTDIR=$install install |
pascal@15723 | 25 } |
pascal@15723 | 26 |
pascal@15723 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@15723 | 28 genpkg_rules() |
pascal@15723 | 29 { |
pascal@15723 | 30 mkdir -p $fs/usr/lib |
pascal@15723 | 31 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@15723 | 32 } |