summaryrefslogtreecommitdiffstats
path: root/kcalc/Pkgfile
diff options
context:
space:
mode:
authororchidman <lesibel@free.fr>2012-01-26 17:24:16 +0100
committerorchidman <lesibel@free.fr>2012-01-26 17:24:16 +0100
commit935fc0f657124539684035aef6080e4c55d2dc29 (patch)
tree87be1670117e56d8e670bda8abaef3d408a6c4b9 /kcalc/Pkgfile
parent9d1c669d4e01c687098fab146a422cf395920358 (diff)
downloadnutyx-extra-935fc0f657124539684035aef6080e4c55d2dc29.tar.gz
nutyx-extra-935fc0f657124539684035aef6080e4c55d2dc29.tar.bz2
nutyx-extra-935fc0f657124539684035aef6080e4c55d2dc29.tar.xz
nutyx-extra-935fc0f657124539684035aef6080e4c55d2dc29.zip
kcalc 4.8.0-1 maj port
Diffstat (limited to 'kcalc/Pkgfile')
-rwxr-xr-xkcalc/Pkgfile26
1 files changed, 26 insertions, 0 deletions
diff --git a/kcalc/Pkgfile b/kcalc/Pkgfile
new file mode 100755
index 000000000..e926609af
--- /dev/null
+++ b/kcalc/Pkgfile
@@ -0,0 +1,26 @@
+# Description: kdeutils, calculatrice
+# URL: http://www.kde.org
+# Maintainer: NuTyX packager team
+# Packager: lesibel at free dot fr
+# Depends on: cmake,automoc4,kdelibs
+# Run on: kdelibs
+
+name=kcalc
+version=4.8.0
+release=1
+source=( ftp://ftp.kde.org/pub/kde/stable/$version/src/$name-$version.tar.bz2)
+
+build() {
+ cd $name-*
+ mkdir build
+ cd build
+ cmake ../ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE_DEFAULT_HOME=.kde \
+ -DSYSCONF_INSTALL_DIR=/etc \
+ -DCMAKE_SKIP_RPATH=ON \
+ -DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
+ make
+ make DESTDIR=$PKG install
+}
+