Add latest version of libsigcpp (#10103)
This commit is contained in:
parent
a55976747e
commit
caf94253e0
@ -10,8 +10,11 @@ class Libsigcpp(AutotoolsPackage):
|
||||
"""Libsigc++ is a C++ library for typesafe callbacks"""
|
||||
|
||||
homepage = "https://libsigcplusplus.github.io/libsigcplusplus/index.html"
|
||||
url = "https://ftp.acc.umu.se/pub/GNOME/sources/libsigc++/2.0/libsigc++-2.0.3.tar.gz"
|
||||
url = "https://ftp.acc.umu.se/pub/GNOME/sources/libsigc++/2.99/libsigc++-2.99.12.tar.xz"
|
||||
list_url = "https://ftp.acc.umu.se/pub/GNOME/sources/libsigc++/"
|
||||
list_depth = 1
|
||||
|
||||
version('2.99.12', sha256='d902ae277f5baf2d56025586e2153cc2f158472e382723c67f49049f7c6690a8')
|
||||
version('2.9.3', '0e5630fd0557ee80b5e5cbbcebaa2594')
|
||||
version('2.1.1', '5ae4d6da9a408c90e86c776673c38972')
|
||||
version('2.0.3', '57c6887dd46ce0bd312a4823589db5d8')
|
||||
@ -21,3 +24,6 @@ def url_for_version(self, version):
|
||||
url = "https://ftp.acc.umu.se/pub/GNOME/sources/libsigc++"
|
||||
ext = '.tar.gz' if version < Version('2.2.10') else '.tar.xz'
|
||||
return url + "/%s/libsigc++-%s%s" % (version.up_to(2), version, ext)
|
||||
|
||||
def configure_args(self):
|
||||
return ['--enable-static']
|
||||
|
Loading…
Reference in New Issue
Block a user