wok-next view extra-cmake-modules/receipt @ rev 20249
lincity-ng: update deps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Nov 07 12:01:40 2017 +0100 (2017-11-07) |
parents | |
children | f48456621a9d |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="extra-cmake-modules"
4 VERSION="5.37.0"
5 CATEGORY="development"
6 SHORT_DESC="Extra modules and scripts for CMake"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="BSD"
9 WEB_SITE="https://github.com/KDE/extra-cmake-modules"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/kde/extra-cmake-modules.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="http://download.kde.org/stable/frameworks/${VERSION%.*}/$TARBALL"
15 BUILD_DEPENDS="cmake qt5-dev"
17 compile_rules() {
18 sed -i '/"lib64"/ s|64||' kde-modules/KDEInstallDirs.cmake
20 mkdir build; cd build
21 cmake \
22 -DCMAKE_INSTALL_PREFIX=/usr \
23 .. &&
24 make &&
25 make install
26 }
28 genpkg_rules() {
29 copy @std @dev
30 DEPENDS="cmake python"
31 }