# Contributor: Francesco Colista # Maintainer: Francesco Colista setvar pkgname = 'libdroplet' setvar _pkgname = 'Droplet' setvar pkgver = '2.0' setvar pkgrel = '3' setvar pkgdesc = ""Cloud storage client library"" setvar url = ""http://www.scality.com"" setvar arch = ""all"" setvar license = ""BSD"" setvar depends = """" setvar depends_dev = ""json-c-dev"" setvar makedepends = ""$depends_dev autoconf automake libtool libxml2-dev libressl-dev"" setvar install = """" setvar subpackages = ""$pkgname-dev"" setvar source = ""$pkgname-$pkgver.tar.gz::https://github.com/scality/Droplet/archive/v$pkgver.tar.gz libdroplet-json-c.patch"" setvar builddir = ""$srcdir"/$_pkgname-$pkgver" proc build { cd $builddir sed -e "s/json/json-c/g" -i configure.ac ./autogen.sh ./configure \ --prefix=/usr make || return 1 } proc package { cd $builddir make DESTDIR="$pkgdir" install } setvar md5sums = ""82f7020eef057e21731a3f05efb2e9d5 libdroplet-2.0.tar.gz f4e877941e6d5b3b790351b8e0975a62 libdroplet-json-c.patch"" setvar sha256sums = ""7cd810e936e490289a6cbaec32a45d80ad206f9a1fbd8ad2a3b947752597a7b9 libdroplet-2.0.tar.gz 76f9caf0e29cfa25aea6da10887740ade8c0385a1541fef0b2de036314d3ea11 libdroplet-json-c.patch"" setvar sha512sums = ""9c580bcca80148de85d9a27cb584867401f318610badc2d82ca2cdf220678a857220a5186e888f7c81e8b7fbbeabe9c2ca93e114ca8f6d92d667894f09b53ab5 libdroplet-2.0.tar.gz 56468c69f5a4b6005ededced2ea9ff689beb74ff3cd4883289ef62390f8e82a59a946e207fe98baf0eb4bf701737d36cf86f7fcfed37a2bcf5c66ad0198f76ed libdroplet-json-c.patch""