wok annotate libsde-utils-x11/receipt @ rev 25556
created recipes for nted and nted-lang
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 22 14:54:15 2023 +0100 (17 months ago) |
parents | eeba7ab1dffe |
children |
rev | line source |
---|---|
psychomaniak@19052 | 1 # SliTaz package receipt. |
psychomaniak@19052 | 2 |
psychomaniak@19052 | 3 PACKAGE="libsde-utils-x11" |
psychomaniak@19052 | 4 BRANCH="461fb9326645f245734041068332e14b22d500cd" |
psychomaniak@19052 | 5 VERSION=${BRANCH:0:7} |
psychomaniak@19052 | 6 CATEGORY="development" |
psychomaniak@19052 | 7 SHORT_DESC="SDE X11 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-x11.git" |
psychomaniak@19052 | 13 |
psychomaniak@19052 | 14 DEPENDS="libsde-utils xorg-libX11" |
psychomaniak@19052 | 15 BUILD_DEPENDS="git cmake xorg-dev libsde-utils" |
psychomaniak@19052 | 16 |
pascal@24476 | 17 # What is the latest version available today? |
pascal@24476 | 18 current_version() |
pascal@24476 | 19 { |
pascal@24476 | 20 wget -O - $WEB_SITE/commits/master 2>/dev/null | \ |
pascal@24476 | 21 sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q' |
pascal@24476 | 22 } |
pascal@24476 | 23 |
psychomaniak@19052 | 24 # Rules to configure and make the package. |
psychomaniak@19052 | 25 compile_rules() |
psychomaniak@19052 | 26 { |
psychomaniak@19052 | 27 rm -rf $src/.git |
psychomaniak@19052 | 28 cmake -DCMAKE_INSTALL_PREFIX=/usr . && |
psychomaniak@19052 | 29 make && |
psychomaniak@19052 | 30 make install |
psychomaniak@19052 | 31 } |
psychomaniak@19052 | 32 |
psychomaniak@19052 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
psychomaniak@19052 | 34 genpkg_rules() |
psychomaniak@19052 | 35 { |
psychomaniak@19052 | 36 mkdir -p $fs/usr/lib |
psychomaniak@19052 | 37 # cp -a $install/usr/lib/*.so* $fs/usr/lib |
psychomaniak@19052 | 38 cp -a $install/* $fs |
psychomaniak@19052 | 39 } |