blob: e82b9736dd3c5b671a652b0da268fde60cb72c37 (
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
45
46
47
48
49
50
51
52
53
54
55
56
57
|
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libbonobo
pkgver=2.32.1
pkgrel=6
pkgdesc="GNOME base library"
url="http://www.gnome.org/"
arch="all"
license="LGPL"
depends=
depends_dev="gtk+2.0-dev libidl-dev orbit2-dev popt-dev libxml2-dev"
makedepends="$depends_dev flex bison"
install=
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="http://ftp.acc.umu.se/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2
glib-2.36.patch"
_builddir="${srcdir}/${pkgname}-${pkgver}"
prepare() {
local i
cd "$_builddir"
update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
# don't waste time building tests or samples
sed -e 's/tests//' \
-e 's/samples//' \
-i Makefile.am Makefile.in || return 1
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
find "$pkgdir" -name '*.la' -delete
}
md5sums="27fa902d4fdf6762ee010e7053aaf77b libbonobo-2.32.1.tar.bz2
350a8e151bd1118f29e603fc5446ff5a glib-2.36.patch"
sha256sums="9160d4f277646400d3bb6b4fa73636cc6d1a865a32b9d0760e1e9e6ee624976b libbonobo-2.32.1.tar.bz2
24b83c948e99dc600c91fc64aafa874422629f1dd42f7085c7f205d5cd8a9808 glib-2.36.patch"
sha512sums="271e34ddb16a1ef756064c062e29bac333f3e109e3efd6db43857db3b2b4259c0c53d2480ac4945cd511b10bc7a1b770a966421bf80655bbfd301f565622c69a libbonobo-2.32.1.tar.bz2
a810e84c35daa5816cc535ab378eef4502516a6f1e3dc41f603ab24b614adf18362f1ce0282b1e38a5220894fb937f51de9a39c6b0e3b5dbb5a2aacb58215f8d glib-2.36.patch"
|