2017-11-10 16:33:57 +01:00
|
|
|
|
# Tanım: HTML, XHTML ve XML için HTML Temizlik kütüphanesi
|
|
|
|
|
# URL: https://github.com/htacg/tidy-html5
|
|
|
|
|
# Paketçi: halityilmaz1982
|
|
|
|
|
# Gerekler: cmake libxslt
|
|
|
|
|
|
|
|
|
|
isim=tidy-html5
|
|
|
|
|
surum=5.4.0
|
|
|
|
|
devir=1
|
|
|
|
|
|
|
|
|
|
kaynak=(https://github.com/htacg/$isim/releases/download/$surum/$isim-$surum.tar.gz)
|
|
|
|
|
|
|
|
|
|
derle() {
|
|
|
|
|
cd $isim-$surum
|
|
|
|
|
cd build/cmake
|
|
|
|
|
cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
|
-DBUILD_TAB2SPACE=ON \
|
|
|
|
|
../..
|
|
|
|
|
make
|
2017-11-10 16:39:22 +01:00
|
|
|
|
make DESTDIR=$PKG install
|
2017-11-10 16:33:57 +01:00
|
|
|
|
install -d $PKG/usr/bin
|
|
|
|
|
install -v -m755 $SRC/$isim-$surum/build/cmake/tab2space $PKG/usr/bin
|
|
|
|
|
}
|