wok annotate exempi/receipt @ rev 24624
updated grep (3.4 -> 3.7)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 07 16:56:05 2022 +0100 (2022-03-07) |
parents | 83d03a36ee6b |
children |
rev | line source |
---|---|
yuripourre@16980 | 1 # SliTaz package receipt. |
yuripourre@16980 | 2 |
yuripourre@16980 | 3 PACKAGE="exempi" |
Hans-G?nter@24526 | 4 VERSION="2.6.1" |
yuripourre@16980 | 5 CATEGORY="utilities" |
yuripourre@16980 | 6 LICENSE="GPL3" |
yuripourre@16980 | 7 SHORT_DESC="An implementation of XMP (Adobe's Extensible Metadata Platform)." |
yuripourre@16980 | 8 MAINTAINER="yuripourre@gmail.com" |
Hans-G?nter@22709 | 9 WEB_SITE="https://wiki.freedesktop.org/libopenraw/Exempi/" |
Hans-G?nter@22709 | 10 |
yuripourre@16981 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20669 | 12 WGET_URL="https://libopenraw.freedesktop.org/download/$TARBALL" |
yuripourre@16980 | 13 |
Hans-G?nter@22709 | 14 DEPENDS="expat gcc83-lib-base" |
Hans-G?nter@22709 | 15 BUILD_DEPENDS="expat-dev gcc83 libboost-dev libboost-test-dev" |
yuripourre@16980 | 16 |
pascal@24535 | 17 # What is the latest version available today? |
pascal@24535 | 18 current_version() |
pascal@24535 | 19 { |
pascal@24535 | 20 wget -O - https://libopenraw.freedesktop.org/exempi/ 2>/dev/null | \ |
pascal@24535 | 21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q |
pascal@24535 | 22 } |
pascal@24535 | 23 |
yuripourre@16980 | 24 # Rules to configure and make the package. |
yuripourre@16980 | 25 compile_rules() |
yuripourre@16980 | 26 { |
Hans-G?nter@22709 | 27 # unrecognised: |
Hans-G?nter@22709 | 28 # --enable-static-no |
Hans-G?nter@22709 | 29 |
Hans-G?nter@22709 | 30 ./configure \ |
Hans-G?nter@22709 | 31 CC=gcc-83 \ |
Hans-G?nter@22709 | 32 CXX=g++-83 \ |
Hans-G?nter@22709 | 33 --prefix=/usr \ |
yuripourre@16980 | 34 $CONFIGURE_ARGS && |
yuripourre@16980 | 35 make && |
Hans-G?nter@24526 | 36 make install DESTDIR=$DESTDIR |
yuripourre@16980 | 37 } |
yuripourre@16980 | 38 |
yuripourre@16980 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
yuripourre@16980 | 40 genpkg_rules() |
yuripourre@16980 | 41 { |
Hans-G?nter@24526 | 42 cook_copy_folders bin |
Hans-G?nter@24526 | 43 cook_copy_files *.so* |
yuripourre@16980 | 44 } |