wok view libsde-utils-x11/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (23 months ago)
parents eeba7ab1dffe
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libsde-utils-x11"
4 BRANCH="461fb9326645f245734041068332e14b22d500cd"
5 VERSION=${BRANCH:0:7}
6 CATEGORY="development"
7 SHORT_DESC="SDE X11 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-x11.git"
14 DEPENDS="libsde-utils xorg-libX11"
15 BUILD_DEPENDS="git cmake xorg-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/* $fs
39 }