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