uchardet.
This commit is contained in:
@@ -4,19 +4,20 @@
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
|
||||
|
||||
from pisi.actionsapi import cmaketools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
from pisi.actionsapi import cmaketools, pisitools, get
|
||||
|
||||
j = ''.join([
|
||||
' -DCMAKE_INSTALL_PREFIX=/usr',
|
||||
' -DCMAKE_INSTALL_LIBDIR=lib',
|
||||
' -DBUILD_STATIC=ON',
|
||||
' -DCMAKE_BUILD_TYPE=Release -L '
|
||||
])
|
||||
|
||||
def setup():
|
||||
cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib \
|
||||
-DCMAKE_BUILD_TYPE=Release")
|
||||
cmaketools.configure(j)
|
||||
|
||||
def build():
|
||||
cmaketools.make()
|
||||
|
||||
def install():
|
||||
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.dodoc("AUTHORS", "COPYING", "README*")
|
||||
|
||||
@@ -12,9 +12,12 @@
|
||||
<IsA>library</IsA>
|
||||
<Summary>Encoding detector library ported from Mozilla</Summary>
|
||||
<Description>Encoding detector library ported from Mozilla</Description>
|
||||
<Archive sha1sum="de19b7e614f11572582a0d47f7d5d6f8ec649199" type="tarxz">https://www.freedesktop.org/software/uchardet/releases/uchardet-0.0.7.tar.xz</Archive>
|
||||
<Archive sha1sum="fdc11673bfb0939f48825bf811b64af709339c80" type="tarxz">
|
||||
https://www.freedesktop.org/software/uchardet/releases/uchardet-0.0.8.tar.xz
|
||||
</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>cmake</Dependency>
|
||||
<Dependency>python3</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
@@ -46,6 +49,13 @@
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="3">
|
||||
<Date>2022-12-30</Date>
|
||||
<Version>0.0.8</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>fury</Name>
|
||||
<Email>uglyside@yandex.ru</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2021-04-26</Date>
|
||||
<Version>0.0.7</Version>
|
||||
|
||||
Reference in New Issue
Block a user