milis/talimatname/genel/libe-book/talimat

24 lines
751 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Description: e-kitap formatları için kütüphane
# URL: http://sourceforge.net/projects/libebook/
# Packager: milisarge
# Depends on: boost cppunit doxygen librevenge libxml2
name=libe-book
version=0.1.2
release=1
source=(https://sourceforge.net/projects/${name//-/}/files//libe-book-0.1.2/libe-book-$version.tar.xz
0001-Disable-werror-by-default-since-gperf-code-will-not-.patch
boost159.patch)
build() {
cd ${name}-${version}
# https://sourceforge.net/p/libebook/code/ci/784c5168d1a62618e53619fd0a979363d596775a/
patch -Np1 -i ../0001-Disable-werror-by-default-since-gperf-code-will-not-.patch
patch -Np1 -i ../boost159.patch
autoreconf -vi
./configure --prefix=/usr #--disable-werror
make
make check
make DESTDIR=$PKG install
}