wok-next annotate 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
rev   line source
al@19989 1 # SliTaz package receipt v2.
al@19989 2
al@19989 3 PACKAGE="extra-cmake-modules"
al@19989 4 VERSION="5.37.0"
al@19989 5 CATEGORY="development"
al@19989 6 SHORT_DESC="Extra modules and scripts for CMake"
al@19989 7 MAINTAINER="al.bobylev@gmail.com"
al@19989 8 LICENSE="BSD"
al@19989 9 WEB_SITE="https://github.com/KDE/extra-cmake-modules"
al@19989 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/kde/extra-cmake-modules.html"
al@19989 11
al@19989 12 TARBALL="$PACKAGE-$VERSION.tar.xz"
al@19989 13 WGET_URL="http://download.kde.org/stable/frameworks/${VERSION%.*}/$TARBALL"
al@19989 14
al@19989 15 BUILD_DEPENDS="cmake qt5-dev"
al@19989 16
al@19989 17 compile_rules() {
al@19989 18 sed -i '/"lib64"/ s|64||' kde-modules/KDEInstallDirs.cmake
al@19989 19
al@19989 20 mkdir build; cd build
al@19989 21 cmake \
al@19989 22 -DCMAKE_INSTALL_PREFIX=/usr \
al@19989 23 .. &&
al@19989 24 make &&
al@19989 25 make install
al@19989 26 }
al@19989 27
al@19989 28 genpkg_rules() {
al@19989 29 copy @std @dev
al@19989 30 DEPENDS="cmake python"
al@19989 31 }