-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f31e4c7
commit cb3e12e
Showing
1 changed file
with
6 additions
and
4 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,19 @@ | ||
pkgname=libxmp-lite | ||
pkgver=4.5.0 | ||
pkgver=4.6.0 | ||
pkgrel=1 | ||
url="https://github.com/libxmp/libxmp" | ||
source=("https://github.com/libxmp/libxmp/releases/download/libxmp-${pkgver}/${pkgname}-${pkgver}.tar.gz") | ||
sha256sums=('19a019abd5a3ddf449cd20ca52cfe18970f6ab28abdffdd54cff563981a943bb') | ||
sha256sums=('71a93eb0119824bcc56eca95db154d1cdf30304b33d89a4732de6fef8a2c6f38') | ||
|
||
build() { | ||
cd $pkgname-$pkgver | ||
./configure --host=arm-vita-eabi --prefix=$prefix --disable-shared --enable-static | ||
mkdir -p build && cd build | ||
cmake -DCMAKE_TOOLCHAIN_FILE=$VITASDK/share/vita.toolchain.cmake -DCMAKE_INSTALL_PREFIX=$prefix -DBUILD_SHARED_LIBS=OFF \ | ||
-DCMAKE_POSITION_INDEPENDENT_CODE=OFF .. | ||
make -j$(nproc) | ||
} | ||
|
||
package () { | ||
cd $pkgname-$pkgver | ||
cd $pkgname-$pkgver/build | ||
make DESTDIR=$pkgdir install | ||
} |