wok view libsde-utils-gtk/receipt @ rev 25803

Up libgit2 (1.8.4), libsde-utils (0.1.0-r1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 12 15:28:00 2024 +0000 (10 days ago)
parents 92b662c0aa2d
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libsde-utils-gtk"
4 GITHASH="fe06cfafc38f7c8918346867cb4e394dd02e7a11"
5 VERSION="0.20230522"
6 CATEGORY="development"
7 SHORT_DESC="SDE GTK Utility Library"
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="GPL"
10 WEB_SITE="https://github.com/sde-gui/libsde-utils-gtk"
11 TARBALL="$PACKAGE-$VERSION.zip"
12 WGET_URL="$WEB_SITE/archive/$GITHASH.zip"
14 DEPENDS="gtk+ libsde-utils"
15 BUILD_DEPENDS="cmake gtk+-dev gdk-pixbuf-dev libsde-utils"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE/commits/master 2>/dev/null | \
21 sed 's|>|>\n|g' | sed '/Commits* on/!d;s|.*Commits* on ||;s|<.*||;q' | xargs -0 date +0.%Y%m%d -d
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 rm -rf $src/.git
28 # cmake -DCMAKE_INSTALL_PREFIX=/usr . &&
29 ./autogen.sh
30 ./configure \
31 --prefix=/usr \
32 --sysconfdir=/etc \
33 --enable-silent-rules \
34 --with-gnu-ld || return 1
35 make &&
36 make install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/lib
43 # cp -a $install/usr/lib/*.so* $fs/usr/lib
44 # cp -a $install/usr/share $fs/usr
45 cp -a $install/* $fs
46 }