aboutsummaryrefslogtreecommitdiffstats
path: root/main/swfdec-mozilla
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-12-16 18:52:00 +0000
committerTimo Teräs <timo.teras@iki.fi>2013-12-16 18:52:00 +0000
commitced1e02903a233c6ca2a36e816cea9fd6946f0ed (patch)
tree17f52ace253ef6a4baaf0d2b81cba0aaeaee6ee9 /main/swfdec-mozilla
parent8bd4249e988a560cb63b28238f4ed10f46ee9a23 (diff)
downloadaports-ced1e02903a233c6ca2a36e816cea9fd6946f0ed.tar.bz2
aports-ced1e02903a233c6ca2a36e816cea9fd6946f0ed.tar.xz
[various]: update config.sub, and update apkbuild
Diffstat (limited to 'main/swfdec-mozilla')
-rw-r--r--main/swfdec-mozilla/APKBUILD17
1 files changed, 14 insertions, 3 deletions
diff --git a/main/swfdec-mozilla/APKBUILD b/main/swfdec-mozilla/APKBUILD
index 40e462cb48..f9716209e2 100644
--- a/main/swfdec-mozilla/APKBUILD
+++ b/main/swfdec-mozilla/APKBUILD
@@ -10,9 +10,14 @@ makedepends="swfdec-dev"
depends=
source="http://swfdec.freedesktop.org/download/$pkgname/0.8/$pkgname-$pkgver.tar.gz"
-build ()
-{
- cd "$srcdir"/$pkgname-$pkgver
+_builddir="$srcdir/$pkgname-$pkgver"
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
+build() {
+ cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -21,8 +26,14 @@ build ()
--with-plugin-dir=/usr/lib/mozilla/plugins/ \
|| return 1
make || return 1
+}
+
+package() {
+ cd "$_builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" -name '*.la' -delete
}
md5sums="716632e0d35b3c1582c180569ba30346 swfdec-mozilla-0.8.2.tar.gz"
+sha256sums="49fd905f41b67832e7b2cfa2cf664657ab08f8fef4a2324e74202fc951396cd5 swfdec-mozilla-0.8.2.tar.gz"
+sha512sums="47e70610722be17b2dfe81180a28c8dd8dd454009cc301ddd9caa650b530e2c452276f5cbfab9c7194167a54a3ef3a27f76254e725c4b7aa7fa38e8f3b703411 swfdec-mozilla-0.8.2.tar.gz"