2010-05-31 02:50:48 +08:00
|
|
|
#
|
|
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
|
|
#
|
|
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
|
|
|
|
# include global config
|
|
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
2010-05-29 05:38:34 +08:00
|
|
|
|
|
|
|
pkgname=kdevplatform
|
2011-04-09 01:03:32 +08:00
|
|
|
pkgver=1.2.2
|
2011-04-05 10:11:19 +08:00
|
|
|
pkgrel=1
|
2010-05-29 05:38:34 +08:00
|
|
|
pkgdesc="A C/C++ development platform for KDE"
|
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
url="http://www.kdevelop.org/"
|
|
|
|
license=('GPL')
|
|
|
|
depends=('kdelibs' 'boost' 'subversion' 'commoncpp2')
|
|
|
|
optdepends=("kdesdk-kompare: difference checking")
|
|
|
|
makedepends=('cmake' 'automoc4')
|
|
|
|
install=${pkgname}.install
|
2011-04-09 01:03:32 +08:00
|
|
|
source=("http://download.kde.org/stable/kdevelop/4.2.2/src/${pkgname}-${pkgver}.tar.bz2")
|
|
|
|
md5sums=('fa75b91097d9e0f86e0797b00ef702e9')
|
2010-05-29 05:38:34 +08:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd ${srcdir}
|
|
|
|
mkdir build
|
|
|
|
cd build
|
|
|
|
cmake ../${pkgname}-${pkgver} \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DCMAKE_SKIP_RPATH=ON
|
|
|
|
make || return 1
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd ${srcdir}/build
|
|
|
|
make DESTDIR=${pkgdir} install || return 1
|
|
|
|
}
|