blob: 5238eacd778b05ad3bfce3afbbbce984182a5db2 (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=glibmm
pkgver=2.36.1
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"
build() {
cd "$srcdir"/$pkgname-$pkgver
./configure --prefix=/usr || return 1
make || return 1
}
package() {
cd "$srcdir"/$pkgname-$pkgver
make DESTDIR="$pkgdir" install || return 1
rm "$pkgdir"/usr/lib/*.la
}
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="1b47129fff7679ed56307ee929b42cb9 glibmm-2.36.1.tar.xz"
sha256sums="d1f7dec2fd75ea95034ec143fcf2ff77a02e92aacf3e0cc110f9c67e7fe23766 glibmm-2.36.1.tar.xz"
sha512sums="c22625a1efa0ea57c0b07fcf5ae50366840a755d5904b604508807693d927bdb13c637679c34eb21cca769e3d8c465792a17080c6141d92b880d40f125f89abd glibmm-2.36.1.tar.xz"
|