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