blob: 79fe199a9e49ae366f927d4de83fc04e2f9b8163 (
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
38
39
40
41
42
43
44
|
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Michael Mason <ms13sp@gmail.com>
pkgname=lzo
pkgver=2.09
pkgrel=0
pkgdesc="LZO -- a real-time data compression library"
url="http://www.oberhumer.com/opensource/lzo"
arch="all"
license="GPL"
depends=""
makedepends=""
install=
subpackages="$pkgname-dev"
source="http://www.oberhumer.com/opensource/lzo/download/$pkgname-$pkgver.tar.gz"
_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
cd "$_builddir"
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--enable-shared \
|| return 1
make || return 1
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install || return 1
rm "$pkgdir"/usr/lib/*.la
}
md5sums="c7ffc9a103afe2d1bba0b015e7aa887f lzo-2.09.tar.gz"
sha256sums="f294a7ced313063c057c504257f437c8335c41bfeed23531ee4e6a2b87bcb34c lzo-2.09.tar.gz"
sha512sums="7c64e5e7d2050d75ac8c59d613f6f7230b74746b1d207666755b07450053c8b73980f12f8a1ec59d2af0bada02beec126aaacb675b8088b5fe65e97ff7e6bfc7 lzo-2.09.tar.gz"
|