applications-19.04.0
This commit is contained in:
+14
-10
@@ -4,22 +4,26 @@
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import cmaketools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
#WorkDir = "tidy-%s" % get.srcVERSION().split("_", 1)[1]
|
||||
|
||||
def setup():
|
||||
#shelltools.system("sh build/gnuauto/setup.sh")
|
||||
autotools.configure("--disable-static")
|
||||
#--includedir=%s/usr/include/" % get.installDIR())
|
||||
shelltools.makedirs("build")
|
||||
shelltools.cd("build")
|
||||
cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DBUILD_TAB2SPACE=ON \
|
||||
-DCMAKE_BUILD_TYPE=Release", sourceDir="..")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
shelltools.cd("build")
|
||||
cmaketools.make()
|
||||
|
||||
|
||||
def install():
|
||||
autotools.install()
|
||||
|
||||
#pisitools.dodoc("readme.txt")
|
||||
shelltools.cd("build")
|
||||
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
shelltools.cd("..")
|
||||
pisitools.dodoc("README.md")
|
||||
|
||||
@@ -12,7 +12,11 @@
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>HTML and XML error checking</Summary>
|
||||
<Description>tidy, as the name suggests, tidies the layout of and corrects errors in HTML and XML documents.</Description>
|
||||
<Archive sha1sum="3688e2cc254e7ee49756def8cd5b1c91721edc00" type="tarbz2">http://anduin.linuxfromscratch.org/sources/BLFS/svn/t/tidy-cvs_20101110.tar.bz2</Archive>
|
||||
<Archive sha1sum="bd6812f3493095c4ca42be11fe3884d1da11c361" type="targz">https://github.com/htacg/tidy-html5/archive/5.6.0/tidy-html5-5.6.0.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>cmake</Dependency>
|
||||
<Dependency>libxslt-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
@@ -21,6 +25,7 @@
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
@@ -32,10 +37,18 @@
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="library">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="5">
|
||||
<Date>2019-04-18</Date>
|
||||
<Version>5.6.0</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2018-08-10</Date>
|
||||
<Version>20101110</Version>
|
||||
|
||||
Reference in New Issue
Block a user