wok view libsde-utils/receipt @ rev 25503

f3: include extra programs
author Hans-G?nter Theisgen
date Fri Jan 27 10:37:43 2023 +0100 (15 months ago)
parents 34e801e0eb52
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libsde-utils"
4 GITHASH="451ac0770e789d91e87d7911aa41049a172aab26"
5 VERSION=${GITHASH:0:7}
6 CATEGORY="development"
7 SHORT_DESC="SDE C 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.zip"
12 WGET_URL="$WEB_SITE/archive/$GITHASH.zip"
14 DEPENDS="glib glibc-base"
15 BUILD_DEPENDS="git cmake glib-dev libtool automake file"
16 # glib-2.0>=2.36
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - $WEB_SITE/commits/master 2>/dev/null | \
22 sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 rm -rf $src/.git
29 # cmake -DCMAKE_INSTALL_PREFIX=/usr . &&
30 ./autogen.sh
31 ./configure \
32 --prefix=/usr \
33 --sysconfdir=/etc \
34 --enable-silent-rules \
35 --with-gnu-ld || return 1
36 make &&
37 make install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/lib
44 # cp -a $install/usr/lib/*.so* $fs/usr/lib
45 cp -a $install/* $fs
46 }