aboutsummaryrefslogtreecommitdiffstats
path: root/main/vte/APKBUILD
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2013-11-30 11:26:40 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-12-03 14:39:32 +0000
commitd7d25461236183406140ee564ba8240472caa1d8 (patch)
tree1d27b65d8d0b7a34eaaff0975fc47268a8cc4551 /main/vte/APKBUILD
parent00149249d60e527862aecd18c5153f78008f4213 (diff)
downloadaports-d7d25461236183406140ee564ba8240472caa1d8.tar.bz2
aports-d7d25461236183406140ee564ba8240472caa1d8.tar.xz
main/vte: specify license
Diffstat (limited to 'main/vte/APKBUILD')
-rw-r--r--main/vte/APKBUILD16
1 files changed, 9 insertions, 7 deletions
diff --git a/main/vte/APKBUILD b/main/vte/APKBUILD
index 4ec5d50b5e..51e8f94b82 100644
--- a/main/vte/APKBUILD
+++ b/main/vte/APKBUILD
@@ -5,18 +5,19 @@ pkgrel=3
pkgdesc="Virtual Terminal Emulator library"
url="http://www.gnome.org"
arch="all"
-license="LGPL"
-subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
-depends=
+license="LGPL2+"
+depends=""
makedepends="pkgconfig gtk+-dev intltool python ncurses-dev"
+depends_dev="glib-dev pango-dev gtk+-dev"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2
allow_alt_in_terminal.patch
fix-includes.patch
"
-depends_dev="glib-dev pango-dev gtk+-dev"
+_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd $_builddir
update_config_sub || return 1
for i in $source; do
case $i in
@@ -28,7 +29,7 @@ prepare() {
}
build() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd $_builddir
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -42,11 +43,12 @@ build() {
}
package() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd $_builddir
make DESTDIR="$pkgdir" install || return 1
ln -sf /usr/share/vte/termcap-0.0 "$pkgdir"/usr/share/vte/termcap
find "$pkgdir" -name '*.la' -delete
}
+
md5sums="f07a4bf943194f94b7f142db8f7f36dc vte-0.28.2.tar.bz2
6ae30139b7d7ca78b56a3b55426c83f2 allow_alt_in_terminal.patch
4872d596fb461f11e9aa753f5a65dd08 fix-includes.patch"