blob: 196bd6c15f8144dcc6e315f6cc9943f8caae6c7b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
#-*-mode: Shell-script; coding: utf-8;-*-
# Maintainer: Mitch Tishmack <mitch.tishmack@gmail.com>
pkgname=ucl
pkgver=1.03
pkgrel=0
pkgdesc="Portable lossless data compression library written in ANSI C"
url="http://www.oberhumer.com/opensource/ucl/"
arch="all"
license="gpl"
makedepends="file"
source="
http://www.oberhumer.com/opensource/$pkgname/download/$pkgname-$pkgver.tar.gz
0001-Static-assert.patch
"
prepare() {
default_prepare || return 1
update_config_sub || return 1
update_config_guess || return 1
}
build() {
cd "$builddir"
./configure --prefix=/usr --enable-shared --enable-static || return 1
make || return 1
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
}
md5sums="852bd691d8abc75b52053465846fba34 ucl-1.03.tar.gz
e852ab6af348477e6c6b3f1ee41b2200 0001-Static-assert.patch"
sha256sums="b865299ffd45d73412293369c9754b07637680e5c826915f097577cd27350348 ucl-1.03.tar.gz
b0269e9f934e23a5992acffe193a27892cd47d91a7e0d65cb6a91e2131896a65 0001-Static-assert.patch"
sha512sums="7dd1824d01b4bb41ee03bbceddc634a9f7f910d235e5cca163d783680d6743f0f3cc309bbbcc1e094d897d549d3805a555f9093b4d77805443d896dd1862aa34 ucl-1.03.tar.gz
24a34de871fcfa919985afc29c60496b1f0e730550e8387f212a5229f32ccade4178d1221574d86c36d025c08b3b5ed6d236f2b4d740436afe0451ae9050f890 0001-Static-assert.patch"
|