wok view libsde-utils/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 92b662c0aa2d
line source
1 # SliTaz package receipt.
3 PACKAGE="libsde-utils"
4 VERSION="451ac07"
5 CATEGORY="development"
6 SHORT_DESC="SDE C 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 #BRANCH="451ac0770e789d91e87d7911aa41049a172aab26"
12 #WGET_URL="git|git://make-linux.org/sde/libsde-utils.git"
13 WGET_URL="http://git.make-linux.org/sde/$PACKAGE.git/snapshot/$TARBALL"
15 DEPENDS="glib glibc-base"
16 BUILD_DEPENDS="git cmake glib-dev libtool automake file"
17 # glib-2.0>=2.36
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 ./autogen.sh
32 ./configure \
33 --prefix=/usr \
34 --sysconfdir=/etc \
35 --enable-silent-rules \
36 --with-gnu-ld || return 1
37 make &&
38 make install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/lib
45 # cp -a $install/usr/lib/*.so* $fs/usr/lib
46 cp -a $install/* $fs
47 }