wok-6.x view libexif/receipt @ rev 24560
updated fossil (2.12.1 -> 2.18)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 25 16:12:40 2022 +0100 (2022-02-25) |
parents | 5ea0ce1cecc0 |
children | bbb340edb2d2 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libexif"
4 VERSION="0.6.22"
5 CATEGORY="system-tools"
6 SHORT_DESC="Reads and writes EXIF metainformation from and to image files."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://libexif.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/releases/download/$PACKAGE-${VERSION//./_}-release/$TARBALL"
14 HOST_ARCH="i486 arm"
16 current_version()
17 {
18 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
19 sed '/archive.*libexif.*tar/!d;s|.*/libexif-\(.*\)-release.*|\1|;s|_|.|g;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 ln -s /bin/sh /usr/bin/sh
26 ./configure \
27 --prefix=/usr \
28 $CONFIGURE_ARGS &&
29 make -j 1 &&
30 make DESTDIR=$DESTDIR install
31 rm /usr/bin/sh
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 }