Skip to content
This repository has been archived by the owner on Nov 25, 2018. It is now read-only.

Commit

Permalink
Add support for ARM
Browse files Browse the repository at this point in the history
  • Loading branch information
mafredri committed Oct 24, 2015
1 parent edfa06e commit 779c899
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 6 deletions.
7 changes: 7 additions & 0 deletions pkgversions_arm.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# This file is auto-generated.
dev-libs/boost-1.57.0
dev-qt/qtcore-4.8.7-r1
dev-qt/qtlockedfile-2.4.1_p20150629
dev-qt/qtsingleapplication-2.6.1_p20150629
net-libs/rb_libtorrent-1.0.6
net-p2p/qbittorrent-3.2.3
2 changes: 1 addition & 1 deletion pkgversions_i386.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file is auto-generated.
dev-libs/boost-1.57.0
dev-qt/qtcore-4.8.7
dev-qt/qtcore-4.8.7-r1
dev-qt/qtlockedfile-2.4.1_p20150629
dev-qt/qtsingleapplication-2.6.1_p20150629
net-libs/rb_libtorrent-1.0.6
Expand Down
3 changes: 2 additions & 1 deletion setup.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

EIX="eix -*neI --format '<installedversions:NAMEVERSION>' -A"
EIX="eix -\*neI --format '<installedversions:NAMEVERSION>' -A"

ROOT=$(cd "$(dirname "${0}")" && pwd)
VERSION=$(<version.txt)
Expand All @@ -12,6 +12,7 @@ MERGE=1
ADM_ARCH=(
"x86-64:/cross/x86_64-asustor-linux-gnu"
"i386:/cross/i686-asustor-linux-gnu"
"arm:/cross/arm-marvell-linux-gnueabi"
)

# Set hostname (ssh) from where to fetch the files
Expand Down
3 changes: 3 additions & 0 deletions source/CONTROL/changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
3.2.3:
- Add support for ARM

3.2.3:
- Updated qBittorrent to 3.2.3
- Updated libtorrent rasterbar to 1.0.6
Expand Down
10 changes: 7 additions & 3 deletions source/CONTROL/post-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,14 @@ else
PKG_DIR=$APKG_PKG_DIR
fi

if [ "$(uname -m)" = "x86_64" ]; then
AS_NAS_ARCH="x86-64"
# Set the NAS ARCH variable
arch=$(uname -m)
if [ "$arch" = "x86_64" ]; then
AS_NAS_ARCH="x86-64"
elif [ "$arch" = "armv7l" ]; then
AS_NAS_ARCH="arm"
else
AS_NAS_ARCH="i386"
AS_NAS_ARCH="i386"
fi

. "${PKG_DIR}/CONTROL/env.sh"
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.2.3
3.2.3-r1

0 comments on commit 779c899

Please sign in to comment.