diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-10-30 15:47:57 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-10-30 15:48:12 +0000 |
commit | fdc263f1fb2b78d7bbe234de7b7761bec6ea4435 (patch) | |
tree | 223206a7feb907f0e07516e49a7ba9454b02b825 | |
parent | 7af044db75df9a7bc07c56b34c422909f5559aef (diff) | |
download | alpine_aports-fdc263f1fb2b78d7bbe234de7b7761bec6ea4435.tar.bz2 alpine_aports-fdc263f1fb2b78d7bbe234de7b7761bec6ea4435.tar.xz alpine_aports-fdc263f1fb2b78d7bbe234de7b7761bec6ea4435.zip |
main/pangox-compat: new aport
Compatibility lib for pangox
http://pango.org
-rw-r--r-- | main/pangox-compat/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/main/pangox-compat/APKBUILD b/main/pangox-compat/APKBUILD new file mode 100644 index 0000000000..4d55baf932 --- /dev/null +++ b/main/pangox-compat/APKBUILD | |||
@@ -0,0 +1,41 @@ | |||
1 | # Maintainer: Natanael Copa <ncopa@alpinelinux.org> | ||
2 | pkgname=pangox-compat | ||
3 | pkgver=0.0.2 | ||
4 | pkgrel=0 | ||
5 | pkgdesc="Compatibility lib for pangox" | ||
6 | url="http://pango.org" | ||
7 | arch="all" | ||
8 | license="LGPL" | ||
9 | depends="" | ||
10 | depends_dev="pango-dev libice-dev" | ||
11 | makedepends="$depends_dev" | ||
12 | install="" | ||
13 | subpackages="$pkgname-dev" | ||
14 | source="http://ftp.gnome.org/pub/gnome/sources/pangox-compat/${pkgver%.*}/pangox-compat-$pkgver.tar.xz" | ||
15 | |||
16 | _builddir="$srcdir"/pangox-compat-$pkgver | ||
17 | prepare() { | ||
18 | local i | ||
19 | cd "$_builddir" | ||
20 | for i in $source; do | ||
21 | case $i in | ||
22 | *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; | ||
23 | esac | ||
24 | done | ||
25 | } | ||
26 | |||
27 | build() { | ||
28 | cd "$_builddir" | ||
29 | ./configure --prefix=/usr \ | ||
30 | --disable-static \ | ||
31 | || return 1 | ||
32 | make || return 1 | ||
33 | } | ||
34 | |||
35 | package() { | ||
36 | cd "$_builddir" | ||
37 | make DESTDIR="$pkgdir" install || return 1 | ||
38 | rm -f "$pkgdir"/usr/lib/*.la | ||
39 | } | ||
40 | |||
41 | md5sums="7bcbd0187f03e1e27af9a81e07249c33 pangox-compat-0.0.2.tar.xz" | ||