wok view lensfun/receipt @ rev 25723
added recipe for xfce4-mixer-lang
author | Hans-G?nter Theisgen |
---|---|
date | Sat Aug 17 16:43:37 2024 +0100 (2 months ago) |
parents | 59786a4f765e |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="lensfun"
4 VERSION="0.3.3"
5 CATEGORY="multimedia"
6 SHORT_DESC="Database of photographic lenses and a library that allows advanced access to the database."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="LGPL3 GPL3"
9 WEB_SITE="https://lensfun.github.io/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/refs/tags/v$VERSION.tar.gz"
14 DEPENDS="glib"
15 BUILD_DEPENDS="cmake glib-dev libpng"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
21 sed '/latest/d;/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 mkdir _build &&
28 cd _build &&
29 cmake .. \
30 -DCMAKE_INSTALL_PREFIX=/usr &&
31 make all &&
32 make install INSTALL_PREFIX="$DESTDIR"
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib
39 mkdir -p $fs/usr/share
41 cp -a $install/usr/lib/*.so* $fs/usr/lib
42 cp -a $install/usr/share/lensfun $fs/usr/share
43 }