ports/kde4 (3.0): libssh: Added optional dependencies
commit a5a9891dcdb5db22a9810b45cfc2a4cc5df11647 Author: Alan Mizrahi <alan+crux@mizrahi.com.ve> Date: Tue Feb 4 17:34:55 2014 +0900 libssh: Added optional dependencies diff --git a/libssh/Pkgfile b/libssh/Pkgfile index 0304e0c..fb82d33 100644 --- a/libssh/Pkgfile +++ b/libssh/Pkgfile @@ -2,6 +2,7 @@ # URL: http://www.libssh.org/ # Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve # Depends on: cmake +# Optional: krb5 name=libssh version=0.6.0 @@ -9,10 +10,10 @@ release=1 source=(https://red.libssh.org/attachments/download/71/libssh-$version.tar.xz) build() { - cd $name-$version - mkdir build - cd build - cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE + mkdir build; cd build + cmake ../$name-$version \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=RELEASE make make DESTDIR=$PKG install }
participants (1)
-
crux@crux.nu