# SliTaz package receipt. PACKAGE="libexif" VERSION="0.6.24" CATEGORY="system-tools" SHORT_DESC="Reads and writes EXIF metainformation from and to image files." MAINTAINER="pankso@slitaz.org" LICENSE="LGPL2.1" WEB_SITE="https://libexif.github.io/" TARBALL="$PACKAGE-$VERSION.tar.bz2" WGET_URL="https://github.com/$PACKAGE/$PACKAGE/releases/download/v$VERSION/$TARBALL" HOST_ARCH="i486 arm" current_version() { wget -O - ${WGET_URL%/down*} 2>/dev/null | \ sed '/archive.*libexif.*tar/!d;s|.*/libexif-\(.*\)-release.*|\1|;s|_|.|g;q' } # Rules to configure and make the package. compile_rules() { ./configure \ --prefix=/usr \ $CONFIGURE_ARGS && make && make install DESTDIR=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cook_copy_files *.so* }