wok-next diff extra-cmake-modules/receipt @ rev 20766
childsplay: up (3.3); tiny edits.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jun 06 04:36:32 2018 +0300 (2018-06-06) |
parents | |
children | f48456621a9d |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/extra-cmake-modules/receipt Wed Jun 06 04:36:32 2018 +0300 1.3 @@ -0,0 +1,31 @@ 1.4 +# SliTaz package receipt v2. 1.5 + 1.6 +PACKAGE="extra-cmake-modules" 1.7 +VERSION="5.37.0" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="Extra modules and scripts for CMake" 1.10 +MAINTAINER="al.bobylev@gmail.com" 1.11 +LICENSE="BSD" 1.12 +WEB_SITE="https://github.com/KDE/extra-cmake-modules" 1.13 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/kde/extra-cmake-modules.html" 1.14 + 1.15 +TARBALL="$PACKAGE-$VERSION.tar.xz" 1.16 +WGET_URL="http://download.kde.org/stable/frameworks/${VERSION%.*}/$TARBALL" 1.17 + 1.18 +BUILD_DEPENDS="cmake qt5-dev" 1.19 + 1.20 +compile_rules() { 1.21 + sed -i '/"lib64"/ s|64||' kde-modules/KDEInstallDirs.cmake 1.22 + 1.23 + mkdir build; cd build 1.24 + cmake \ 1.25 + -DCMAKE_INSTALL_PREFIX=/usr \ 1.26 + .. && 1.27 + make && 1.28 + make install 1.29 +} 1.30 + 1.31 +genpkg_rules() { 1.32 + copy @std @dev 1.33 + DEPENDS="cmake python" 1.34 +}