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
|
|
|
|
|
2017-10-28 14:10:23 +02:00
|
|
|
|
isim=libe-book
|
|
|
|
|
surum=0.1.2
|
|
|
|
|
devir=1
|
|
|
|
|
kaynak=(https://sourceforge.net/projects/${name//-/}/files//libe-book-0.1.2/libe-book-$surum.tar.xz
|
2017-07-25 22:40:57 +02:00
|
|
|
|
0001-Disable-werror-by-default-since-gperf-code-will-not-.patch
|
|
|
|
|
boost159.patch)
|
|
|
|
|
|
2017-10-27 23:59:41 +02:00
|
|
|
|
derle() {
|
2017-10-28 14:10:23 +02:00
|
|
|
|
cd ${isim}-${surum}
|
2017-07-25 22:40:57 +02:00
|
|
|
|
# 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
|
|
|
|
|
}
|