Receipt for package "zbar"
# SliTaz package receipt. PACKAGE="zbar" VERSION="0.23.90" CATEGORY="utilities" SHORT_DESC="Decode barcode and QR code." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="LGPL2.1" WEB_SITE="https://github.com/mchehab/zbar" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz" DEPENDS="atk cairo fontconfig freetype gcc83-lib-base gtk+ imagemagick jpeg libgio pango" BUILD_DEPENDS="atk-dev cairo-dev fftw-dev fontconfig-dev freetype-dev gcc83 gdk-pixbuf graphviz-dev gtk+-dev ilmbase-dev imagemagick-dev jpeg-dev lcms-dev libgio-dev libtool libxml2-dev linux-api-headers openexr-dev pango-dev util-linux-uuid-dev" # What is the latest version available today? current_version() { wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { # sed -i 's|w\(and/MagickWand\.h\)|MagickW\1|' configu* zbarimg/zbarimg.c autoreconf -vfi && ./configure \ CC=gcc-83 \ CXX=g++-83 \ --prefix=/usr \ --mandir=/usr/share/man \ --localstatedir=/var \ --without-qt \ --without-python \ --disable-video \ --disable-doc \ $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib cp -a $install/usr/bin $fs/usr cp -a $install/usr/lib/*.so* $fs/usr/lib }
6063 packages and 233209 files in current database (Sat Dec 21 00:00:03 2024)