wok annotate libsde-utils-jansson/receipt @ rev 24059
Rename lz5 to lizard
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 09 15:03:00 2021 +0000 (2021-06-09) |
parents | 279c83a43f68 |
children | 89c8d8b6cf48 |
rev | line source |
---|---|
psychomaniak@19052 | 1 # SliTaz package receipt. |
psychomaniak@19052 | 2 |
psychomaniak@19052 | 3 PACKAGE="libsde-utils-jansson" |
psychomaniak@19052 | 4 BRANCH="55463cbbfd2e10d19cb0561684bc8036070dae75" |
psychomaniak@19052 | 5 VERSION=${BRANCH:0:7} |
psychomaniak@19052 | 6 CATEGORY="development" |
psychomaniak@19052 | 7 SHORT_DESC="SDE Jansson Utility Library" |
al@19170 | 8 MAINTAINER="al.bobylev@gmail.com" |
psychomaniak@19052 | 9 LICENSE="GPL" |
pascal@20674 | 10 WEB_SITE="https://github.com/sde-gui/libsde-utils" |
psychomaniak@19052 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
psychomaniak@19052 | 12 WGET_URL="git|git://make-linux.org/sde/libsde-utils-jansson.git" |
psychomaniak@19052 | 13 |
psychomaniak@19052 | 14 DEPENDS="jansson libsde-utils-gtk" |
psychomaniak@19052 | 15 BUILD_DEPENDS="git cmake gtk+-dev glib-dev jansson-dev \ |
psychomaniak@19052 | 16 libsde-utils libsde-utils-gtk" |
psychomaniak@19052 | 17 #libsde-utils-dev libsde-utils-gtk-dev" |
psychomaniak@19052 | 18 |
psychomaniak@19052 | 19 # Rules to configure and make the package. |
psychomaniak@19052 | 20 compile_rules() |
psychomaniak@19052 | 21 { |
psychomaniak@19052 | 22 rm -rf $src/.git |
psychomaniak@19052 | 23 cmake -DCMAKE_INSTALL_PREFIX=/usr . && |
psychomaniak@19052 | 24 make && |
psychomaniak@19052 | 25 make install |
psychomaniak@19052 | 26 } |
psychomaniak@19052 | 27 |
psychomaniak@19052 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
psychomaniak@19052 | 29 genpkg_rules() |
psychomaniak@19052 | 30 { |
psychomaniak@19052 | 31 mkdir -p $fs/usr/lib |
psychomaniak@19052 | 32 # cp -a $install/usr/lib/*.so* $fs/usr/lib |
psychomaniak@19052 | 33 cp -a $install/* $fs |
psychomaniak@19052 | 34 } |