blob: a0538487241fb417402ccdbb9ae3abe2a4029585 (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=glibmm
pkgver=2.46.2
pkgrel=0
pkgdesc="C++ wrapper for the GLib toolkit"
url="http://gtkmm.sourceforge.net/"
arch="all"
license="LGPL"
depends=
makedepends="glib-dev libsigc++-dev"
subpackages="$pkgname-dev $pkgname-doc"
depends_dev="libsigc++-dev"
source="http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
dev() {
mkdir -p "$subpkgdir"/usr/lib/
mv "$pkgdir"/usr/lib/glibmm-2.4 "$subpkgdir"/usr/lib/
default_dev
}
doc() {
default_doc
mkdir -p "$subpkgdir"/usr/share/
mv "$pkgdir"/usr/share/devhelp "$subpkgdir"/usr/share/
}
md5sums="cd6ca443da7c0afc6a3279170e6f85fc glibmm-2.46.2.tar.xz"
sha256sums="7221a01a768c1cce2bb994cb6ebfe634246dba4788f910484d04e3b0d903a3c8 glibmm-2.46.2.tar.xz"
sha512sums="f6748c6833c5733784ade3a28bcb72131bc5f1d291250094b51cf3676974f80f1d1616cb77c7b77b59fbdcd15cc692210caf27ecf1eaa5a3498042499a060ff1 glibmm-2.46.2.tar.xz"
|