diff options
Diffstat (limited to 'user/ebook-tools/APKBUILD')
-rw-r--r-- | user/ebook-tools/APKBUILD | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/user/ebook-tools/APKBUILD b/user/ebook-tools/APKBUILD index 6c33ad3d5..6eeeb3cdb 100644 --- a/user/ebook-tools/APKBUILD +++ b/user/ebook-tools/APKBUILD @@ -8,12 +8,11 @@ url="https://sourceforge.net/projects/ebook-tools/" arch="all" license="MIT" depends="convertlit cmd:which" -makedepends="libxml2-dev libzip-dev" +makedepends="cmake libxml2-dev libzip-dev" subpackages="$pkgname-dev" source="https://downloads.sourceforge.net/ebook-tools/ebook-tools-$pkgver.tar.gz" build() { - cd "$builddir" if [ "$CBUILD" != "$CHOST" ]; then CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux" fi @@ -22,17 +21,15 @@ build() { -DBUILD_SHARED_LIBS=True \ -DCMAKE_BUILD_TYPE=RelWithDebugInfo \ -DCMAKE_C_FLAGS="$CFLAGS" \ - ${CMAKE_CROSSOPTS} + ${CMAKE_CROSSOPTS} . make } check() { - cd "$builddir" CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { - cd "$builddir" make DESTDIR="$pkgdir" install } |