aboutsummaryrefslogtreecommitdiffstats
path: root/main/qca/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/qca/APKBUILD')
-rw-r--r--main/qca/APKBUILD27
1 files changed, 11 insertions, 16 deletions
diff --git a/main/qca/APKBUILD b/main/qca/APKBUILD
index 9d0644dbff..1f18231938 100644
--- a/main/qca/APKBUILD
+++ b/main/qca/APKBUILD
@@ -13,34 +13,29 @@ makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="http://delta.affinix.com/download/qca/2.0/qca-$pkgver.tar.bz2
- secmem.patch"
+ secmem.patch
+ fix-base64-decoding-on-ARM.patch"
-_builddir="$srcdir"/qca-$pkgver
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
+builddir="$srcdir"/qca-$pkgver
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure --prefix=/usr \
|| return 1
make || return 1
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make INSTALL_ROOT="$pkgdir" install || return 1
}
md5sums="fc15bd4da22b8096c51fcfe52d2fa309 qca-2.0.3.tar.bz2
-53f5a927d6d654c5a82e106834e79985 secmem.patch"
+53f5a927d6d654c5a82e106834e79985 secmem.patch
+e95b9bc20c732c4f656a28757d4588c7 fix-base64-decoding-on-ARM.patch"
sha256sums="8da20c89f390954fdcfcd3c4deef379213ddb5ae9d6b5e0c917d23f5e474895f qca-2.0.3.tar.bz2
-0bbe520dfe5f7d3114ed4b6cc772b0250472674b86415fe1d1aeaccaa7271257 secmem.patch"
+0bbe520dfe5f7d3114ed4b6cc772b0250472674b86415fe1d1aeaccaa7271257 secmem.patch
+31b61bed284f75c884888673af0a26aae5bf9c7e6f49e964c2fa1f24892a20cc fix-base64-decoding-on-ARM.patch"
sha512sums="c1120ffb373e294fbcc76e21dc2f503ebd3398b26d0ffa7ab7ee3a3e1a4228159358b59c2673ac4a1c2363771e61da54a5080b201c65d586ceda2e3b2facc1bb qca-2.0.3.tar.bz2
-a06519a055af21d53bed65d90e31089d3c1e3fdf2459c6c52c394678cb0775a5f262728617eecbbd9e8e7f0340c7aa9326a8eb030de6214e24d7590032db5444 secmem.patch"
+a06519a055af21d53bed65d90e31089d3c1e3fdf2459c6c52c394678cb0775a5f262728617eecbbd9e8e7f0340c7aa9326a8eb030de6214e24d7590032db5444 secmem.patch
+583c338fe8803f2fc17c8f931efccc893eda32f96b441c764f7d68844c32af3f8e9df61a58e50321ff692b7d1e4d7f06154832dafb982868c7cefad7da20f6ef fix-base64-decoding-on-ARM.patch"