blob: 413c3f20750cd38e703e8d43ecad42c378b66e81 (
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
58
59
60
61
62
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libglade
pkgver=2.6.4
pkgrel=13
pkgdesc="Allows you to load glade interface files in a program at runtime"
url="http://www.gnome.org"
arch="all"
license="LGPL"
subpackages="$pkgname-dev $pkgname-doc"
depends="libxml2-utils"
depends_dev="gtk+2.0-dev libxml2-dev"
makedepends="$depends_dev python autoconf automake libtool"
install="$pkgname.post-install $pkgname.pre-upgrade $pkgname.post-upgrade
$pkgname.post-deinstall"
source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/2.6/$pkgname-$pkgver.tar.bz2
$pkgname-2.0.1-nowarning.patch
libglade-gmodule.patch
"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
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
libtoolize --force && aclocal && autoheader && autoconf \
&& automake --add-missing || return 1
}
build() {
cd "$_builddir"
sed -i '/DG_DISABLE_DEPRECATED/d' glade/Makefile.in || return 1
./configure \
--build=$CBUILD \
--host=$CHOST \
--sysconfdir=/etc \
--prefix=/usr \
--disable-static \
--localstatedir=/var \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
install -m755 libglade-convert "$pkgdir"/usr/bin/ || return 1
}
md5sums="d1776b40f4e166b5e9c107f1c8fe4139 libglade-2.6.4.tar.bz2
4f879c0ce550004905aa0fb24f25c353 libglade-2.0.1-nowarning.patch
324c7f96579f0675c37c9f83be7289a1 libglade-gmodule.patch"
sha256sums="64361e7647839d36ed8336d992fd210d3e8139882269bed47dc4674980165dec libglade-2.6.4.tar.bz2
423c12af1c73442caa851a0b8db33b00fa4b778b1b422a4e8ac33d121d043008 libglade-2.0.1-nowarning.patch
7d13443662bbfc2e12a717a050657e054f5eced46fa75f33fc083be65bf4f285 libglade-gmodule.patch"
sha512sums="b725842febaf4c1f0d305a629ae1c61ea2de24dd6f41937e806c078fada2cea483195ef40f5238ce2045e47130c92559e984f677de667b840dd7fff0f8559735 libglade-2.6.4.tar.bz2
5ab9dfb85938fb7e9ec637a9d68f3db961f3986e1eb9eec0d684af4ce2361c83d6998283b2bd5b4e1bd7950ca456cc3ea7fae567ac52ae391f6c9d5456c6dd2e libglade-2.0.1-nowarning.patch
8ab898ca484ebcf2fbb39a9f6e59f214f8c378f1b50c9abd1553a8dfb1e087f4bd7c90d74b5a02d2f92994707fcb3c351203669193b6511c493486e676023224 libglade-gmodule.patch"
|