wok view libsde-utils-gtk/receipt @ rev 25190
Fix liboping
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jul 12 21:10:12 2022 +0000 (2022-07-12) |
parents | 34e801e0eb52 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="libsde-utils-gtk"
4 GITHASH="3c571f0e81d55e70164320e112b443feb495b162"
5 VERSION=${GITHASH:0:7}
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 '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q'
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 make &&
30 make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
37 # cp -a $install/usr/lib/*.so* $fs/usr/lib
38 # cp -a $install/usr/share $fs/usr
39 cp -a $install/* $fs
40 }