wok-next annotate zbar/receipt @ rev 20611
Add rpcsvc-proto
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Apr 19 21:54:31 2018 +0300 (2018-04-19) |
parents | 99d1d45ec006 |
children | baaa04032e25 |
rev | line source |
---|---|
pascal@20319 | 1 # SliTaz package receipt v2. |
pascal@10903 | 2 |
pascal@10903 | 3 PACKAGE="zbar" |
pascal@10903 | 4 VERSION="0.10" |
pascal@10903 | 5 CATEGORY="utilities" |
pascal@10903 | 6 SHORT_DESC="Decode barcode & QR code." |
pascal@10903 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14996 | 8 LICENSE="LGPL2.1" |
pascal@10903 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@10903 | 10 WEB_SITE="http://zbar.sourceforge.net/" |
pascal@10903 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@10903 | 12 |
pascal@10903 | 13 BUILD_DEPENDS="linux-api-headers jpeg-dev imagemagick-dev pango-dev cairo-dev \ |
al@19779 | 14 freetype-dev fontconfig-dev atk-dev gtk+-dev glib-dev util-linux-uuid-dev \ |
pascal@12562 | 15 lcms-dev fftw-dev openexr-dev ilmbase-dev graphviz-dev gdk-pixbuf libxml2-dev \ |
pascal@12562 | 16 libtool" |
pascal@20319 | 17 SPLIT="zbar-dev" |
pascal@10903 | 18 |
pascal@10903 | 19 # Rules to configure and make the package. |
pascal@10903 | 20 compile_rules() |
pascal@10903 | 21 { |
pascal@10903 | 22 ./configure --prefix=/usr --mandir=/usr/share/man \ |
pascal@10903 | 23 --localstatedir=/var \ |
pascal@10903 | 24 --without-qt \ |
pascal@10903 | 25 --without-python \ |
pascal@12562 | 26 --disable-video \ |
pascal@10903 | 27 $CONFIGURE_ARGS && |
pascal@10903 | 28 make && |
pascal@10903 | 29 make DESTDIR=$DESTDIR install |
pascal@10903 | 30 } |
pascal@10903 | 31 |
pascal@10903 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@10903 | 33 genpkg_rules() |
pascal@10903 | 34 { |
pascal@20319 | 35 case $PACKAGE in |
pascal@20319 | 36 zbar) |
pascal@20319 | 37 DEPENDS="jpeg imagemagick pango cairo freetype fontconfig atk gtk+ glib" |
pascal@20319 | 38 mkdir -p $fs/usr/lib |
pascal@20319 | 39 cp -a $install/usr/bin $fs/usr |
pascal@20319 | 40 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@20319 | 41 ;; |
pascal@20319 | 42 zbar-dev) |
pascal@20319 | 43 mkdir -p $fs/usr/lib |
pascal@20319 | 44 cp -a $install/usr/include $fs/usr |
pascal@20319 | 45 cp -a $install/usr/lib/*a $fs/usr/lib |
pascal@20319 | 46 cp -a $install/usr/lib/pkgconfig $fs/usr/lib |
pascal@20319 | 47 ;; |
pascal@20319 | 48 esac |
pascal@10903 | 49 } |