Skip to content
Snippets Groups Projects
Commit e070dba1 authored by Bart Ribbers's avatar Bart Ribbers
Browse files

community/libepubgen: fix build on riscv64 and modernize

parent 5bbfd4c5
No related branches found
No related tags found
No related merge requests found
...@@ -9,10 +9,15 @@ license="MPL-2.0" ...@@ -9,10 +9,15 @@ license="MPL-2.0"
makedepends="librevenge-dev libxml2-dev doxygen" makedepends="librevenge-dev libxml2-dev doxygen"
subpackages="$pkgname-dev $pkgname-doc" subpackages="$pkgname-dev $pkgname-doc"
source="https://download.sourceforge.net/project/libepubgen/libepubgen-$pkgver/libepubgen-$pkgver.tar.bz2" source="https://download.sourceforge.net/project/libepubgen/libepubgen-$pkgver/libepubgen-$pkgver.tar.bz2"
builddir="$srcdir"/$pkgname-$pkgver
prepare() {
default_prepare
update_config_sub
update_config_guess
}
build() { build() {
cd "$builddir"
./configure \ ./configure \
--build=$CBUILD \ --build=$CBUILD \
--host=$CHOST \ --host=$CHOST \
...@@ -25,12 +30,10 @@ build() { ...@@ -25,12 +30,10 @@ build() {
check() { check() {
cd "$builddir"
make check make check
} }
package() { package() {
cd "$builddir"
make DESTDIR="$pkgdir" install make DESTDIR="$pkgdir" install
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment