wok-current view libsde-utils-gtk/receipt @ rev 25024
Update some wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 18 20:10:17 2022 +0000 (2022-05-18) |
parents | eeba7ab1dffe |
children | 92b662c0aa2d |
line source
1 # SliTaz package receipt.
3 PACKAGE="libsde-utils-gtk"
4 VERSION="3c571f0"
5 CATEGORY="development"
6 SHORT_DESC="SDE GTK Utility Library"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL"
9 WEB_SITE="https://github.com/sde-gui/libsde-utils"
10 TARBALL="$PACKAGE-$VERSION.tar.xz"
11 WGET_URL="http://git.make-linux.org/sde/$PACKAGE.git/snapshot/$TARBALL"
13 DEPENDS="gtk+ libsde-utils"
14 BUILD_DEPENDS="cmake gtk+-dev gdk-pixbuf-dev libsde-utils"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - $WEB_SITE/commits/master 2>/dev/null | \
20 sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 rm -rf $src/.git
27 cmake -DCMAKE_INSTALL_PREFIX=/usr . &&
28 make &&
29 make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
36 # cp -a $install/usr/lib/*.so* $fs/usr/lib
37 # cp -a $install/usr/share $fs/usr
38 cp -a $install/* $fs
39 }