wok-current view libsde-utils-jansson/receipt @ rev 25338
updated svkbd packages ( -> 0.4.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jul 24 10:22:05 2022 +0100 (2022-07-24) |
parents | eeba7ab1dffe |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="libsde-utils-jansson"
4 BRANCH="55463cbbfd2e10d19cb0561684bc8036070dae75"
5 VERSION=${BRANCH:0:7}
6 CATEGORY="development"
7 SHORT_DESC="SDE Jansson Utility Library"
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="GPL"
10 WEB_SITE="https://github.com/sde-gui/libsde-utils"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="git|git://make-linux.org/sde/libsde-utils-jansson.git"
14 DEPENDS="jansson libsde-utils-gtk"
15 BUILD_DEPENDS="git cmake gtk+-dev glib-dev jansson-dev \
16 libsde-utils libsde-utils-gtk"
17 #libsde-utils-dev libsde-utils-gtk-dev"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - $WEB_SITE/commits/master 2>/dev/null | \
23 sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 rm -rf $src/.git
30 cmake -DCMAKE_INSTALL_PREFIX=/usr . &&
31 make &&
32 make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib
39 # cp -a $install/usr/lib/*.so* $fs/usr/lib
40 cp -a $install/* $fs
41 }