milis/talimatname/genel/l/libe-book/talimat

24 lines
744 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: e-kitap formatları için kütüphane
2017-07-25 22:40:57 +02:00
# URL: http://sourceforge.net/projects/libebook/
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: boost cppunit doxygen librevenge libxml2
2017-07-25 22:40:57 +02:00
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
}