Created
May 25, 2025 09:41
-
-
Save fudanchii/05aacfb6ac73a488e1b6c8ec36bedb58 to your computer and use it in GitHub Desktop.
libssh2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pkgname=libssh2 | |
pkgver=9999 | |
pkgrel=1 | |
gitrev=d8ae40bad07bb779482fc5d082607dfc431dd872 | |
url="https://github.com/libssh2/libssh2" | |
source=("git+https://github.com/libssh2/libssh2.git#commit=${gitrev}") | |
sha256sums=('SKIP') | |
build() { | |
cd $pkgname | |
mkdir build && cd build | |
cmake .. "-DCMAKE_TOOLCHAIN_FILE=${VITASDK}/share/vita.toolchain.cmake" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$prefix -DBUILD_TESTING=OFF -DBUILD_EXAMPLES=OFF -DCRYPTO_BACKEND=mbedTLS | |
make -j8 | |
} | |
package () { | |
cd $pkgname | |
cd build | |
make DESTDIR=$pkgdir install | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment