Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vladislav
eepm
Commits
2ed20742
Commit
2ed20742
authored
Jun 06, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play aksusbd: add support for i386, aarch64, armhf
parent
3b548de7
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
44 additions
and
8 deletions
+44
-8
aksusbd.sh
pack.d/aksusbd.sh
+43
-7
aksusbd.sh
play.d/aksusbd.sh
+1
-1
No files found.
pack.d/aksusbd.sh
View file @
2ed20742
...
@@ -16,18 +16,54 @@ else
...
@@ -16,18 +16,54 @@ else
fatal
"How no idea how to handle
$TAR
"
fatal
"How no idea how to handle
$TAR
"
fi
fi
# select package by package type and target arch
pkgtype
=
"
$(
epm print info
-p
)
"
pkgtype
=
"
$(
epm print info
-p
)
"
case
$pkgtype
in
rpm
)
if
[
"
$pkgtype
"
=
"rpm"
]
;
then
pkg
=
"aksusbd-*.x86_64.rpm"
case
"
$(
epm print info
-a
)
"
in
x86_64
)
arch
=
"x86_64"
;;
x86
)
arch
=
"i386"
;;
aarch64
)
arch
=
"aarch64"
;;
;;
deb
)
armhf
)
pkg
=
"aksusbd_*_amd64.deb
"
arch
=
"armv7hl
"
;;
;;
*
)
*
)
pkg
=
"aksusbd_*_amd64.deb
"
fatal
"Unsupported arch
"
;;
;;
esac
esac
pkg
=
"aksusbd-*.
$arch
.rpm"
else
case
"
$(
epm print info
-a
)
"
in
x86_64
)
arch
=
"amd64"
;;
x86
)
arch
=
"i386"
;;
aarch64
)
arch
=
"arm64"
;;
armhf
)
arch
=
"armhf"
;;
*
)
fatal
"Unsupported arch"
;;
esac
pkg
=
"aksusbd_*_
$arch
.deb"
fi
mv
-v
$PRODUCT
*
/pkg/
$pkg
.
||
fatal
mv
-v
$PRODUCT
*
/pkg/
$pkg
.
||
fatal
...
...
play.d/aksusbd.sh
View file @
2ed20742
#!/bin/sh
#!/bin/sh
PKGNAME
=
aksusbd
PKGNAME
=
aksusbd
SUPPORTEDARCHES
=
"x86_64"
SUPPORTEDARCHES
=
"x86_64
x86 aarch64 armhf
"
DESCRIPTION
=
"Sentinel LDK daemon (HASP) from the official site"
DESCRIPTION
=
"Sentinel LDK daemon (HASP) from the official site"
.
$(
dirname
$0
)
/common.sh
.
$(
dirname
$0
)
/common.sh
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment