2014-01-13 00:22:06 +08:00
|
|
|
# Maintainer: H W Tovetjärn (totte) <totte@tott.es>
|
|
|
|
# Contributors: Manuel Tortosa <manutortosa@chakra-project.org>
|
2013-06-26 06:02:12 +08:00
|
|
|
|
2013-12-18 02:36:04 +08:00
|
|
|
# Include global configuration
|
2013-06-26 06:02:12 +08:00
|
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
|
2014-01-13 09:11:58 +08:00
|
|
|
pkgname="kdenetwork-kppp"
|
2013-06-26 06:02:12 +08:00
|
|
|
arch=('x86_64')
|
|
|
|
pkgver=${_kdever}
|
2014-01-13 23:26:16 +08:00
|
|
|
pkgrel=2
|
2014-01-13 01:14:31 +08:00
|
|
|
pkgdesc="PPP client"
|
2013-06-26 06:02:12 +08:00
|
|
|
url="http://kde.org/applications/internet/kppp/"
|
|
|
|
depends=("kde-runtime>=${_kdever}" 'ppp')
|
|
|
|
groups=("kde" "kdenetwork" "kde-uninstall")
|
|
|
|
categories=('network')
|
2014-01-13 01:14:31 +08:00
|
|
|
conflicts=("kdenetwork-common" "kdenetwork-doc" "kdenetwork-kppp")
|
|
|
|
provides=("kdenetwork-kppp")
|
|
|
|
replaces=("kdenetwork-kppp")
|
2013-06-26 06:02:12 +08:00
|
|
|
install=kdenetwork.install
|
|
|
|
license=('GPL' 'LGPL' 'FDL')
|
2013-07-24 08:15:53 +08:00
|
|
|
options=('docs' '!header' 'debug' 'log')
|
2013-06-26 06:02:12 +08:00
|
|
|
makedepends=('pkg-config' 'cmake' 'automoc4' 'docbook-xsl')
|
2014-01-13 09:11:58 +08:00
|
|
|
source=("$_mirror/kppp-$_kdever.tar.xz")
|
|
|
|
sha256sums=(`grep kppp-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
|
2013-06-26 06:02:12 +08:00
|
|
|
|
|
|
|
build() {
|
2014-01-13 09:11:58 +08:00
|
|
|
cd ${srcdir}/kppp-$pkgver
|
2014-01-13 01:14:31 +08:00
|
|
|
cmake . \
|
|
|
|
-DCMAKE_BUILD_TYPE=${_build_type} \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
|
|
|
|
-DCMAKE_SKIP_RPATH=ON \
|
|
|
|
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
|
|
|
|
make
|
2013-06-26 06:02:12 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2014-01-13 09:11:58 +08:00
|
|
|
cd ${srcdir}/kppp-$pkgver
|
2014-01-13 01:14:31 +08:00
|
|
|
make DESTDIR=${pkgdir} install
|
2013-06-26 06:02:12 +08:00
|
|
|
}
|