# SliTaz package receipt. PACKAGE="exempi" VERSION="2.6.1" CATEGORY="utilities" LICENSE="GPL3" SHORT_DESC="An implementation of XMP (Adobe's Extensible Metadata Platform)." MAINTAINER="yuripourre@gmail.com" WEB_SITE="https://wiki.freedesktop.org/libopenraw/Exempi/" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://libopenraw.freedesktop.org/download/$TARBALL" DEPENDS="expat gcc83-lib-base" BUILD_DEPENDS="expat-dev gcc83 libboost-dev libboost-test-dev" # What is the latest version available today? current_version() { wget -O - https://libopenraw.freedesktop.org/exempi/ 2>/dev/null | \ sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q } # Rules to configure and make the package. compile_rules() { # unrecognised: # --enable-static-no ./configure \ CC=gcc-83 \ CXX=g++-83 \ --prefix=/usr \ $CONFIGURE_ARGS && make && make install DESTDIR=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cook_copy_folders bin cook_copy_files *.so* }