wok annotate libsde-utils/receipt @ rev 25516

memtest64: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 19 11:36:17 2023 +0000 (21 months ago)
parents 34e801e0eb52
children a0294319a84f
rev   line source
psychomaniak@19052 1 # SliTaz package receipt.
psychomaniak@19052 2
psychomaniak@19052 3 PACKAGE="libsde-utils"
pascal@25095 4 GITHASH="451ac0770e789d91e87d7911aa41049a172aab26"
pascal@25095 5 VERSION=${GITHASH:0:7}
psychomaniak@19052 6 CATEGORY="development"
psychomaniak@19052 7 SHORT_DESC="SDE C Utility Library"
psychomaniak@19052 8 MAINTAINER="al.bobylev@gmail.com"
psychomaniak@19052 9 LICENSE="GPL"
pascal@20674 10 WEB_SITE="https://github.com/sde-gui/libsde-utils"
pascal@25095 11 TARBALL="$PACKAGE-$VERSION.zip"
pascal@25095 12 WGET_URL="$WEB_SITE/archive/$GITHASH.zip"
psychomaniak@19052 13
psychomaniak@19052 14 DEPENDS="glib glibc-base"
pascal@20576 15 BUILD_DEPENDS="git cmake glib-dev libtool automake file"
psychomaniak@19052 16 # glib-2.0>=2.36
psychomaniak@19052 17
pascal@24497 18 # What is the latest version available today?
pascal@24497 19 current_version()
pascal@24497 20 {
pascal@24497 21 wget -O - $WEB_SITE/commits/master 2>/dev/null | \
pascal@24497 22 sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q'
pascal@24497 23 }
pascal@24497 24
psychomaniak@19052 25 # Rules to configure and make the package.
psychomaniak@19052 26 compile_rules()
psychomaniak@19052 27 {
psychomaniak@19052 28 rm -rf $src/.git
psychomaniak@19052 29 # cmake -DCMAKE_INSTALL_PREFIX=/usr . &&
psychomaniak@19052 30 ./autogen.sh
psychomaniak@19052 31 ./configure \
psychomaniak@19052 32 --prefix=/usr \
psychomaniak@19052 33 --sysconfdir=/etc \
psychomaniak@19052 34 --enable-silent-rules \
psychomaniak@19052 35 --with-gnu-ld || return 1
psychomaniak@19052 36 make &&
psychomaniak@19052 37 make install
psychomaniak@19052 38 }
psychomaniak@19052 39
psychomaniak@19052 40 # Rules to gen a SliTaz package suitable for Tazpkg.
psychomaniak@19052 41 genpkg_rules()
psychomaniak@19052 42 {
psychomaniak@19052 43 mkdir -p $fs/usr/lib
psychomaniak@19052 44 # cp -a $install/usr/lib/*.so* $fs/usr/lib
psychomaniak@19052 45 cp -a $install/* $fs
psychomaniak@19052 46 }