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
etersoft
eepm
Commits
1c308123
Commit
1c308123
authored
Aug 28, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play: add guardant (glds)
parent
64fd5fae
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
71 additions
and
0 deletions
+71
-0
glds.sh
pack.d/glds.sh
+21
-0
guardant.sh
play.d/guardant.sh
+41
-0
glds.sh
repack.d/glds.sh
+9
-0
No files found.
pack.d/glds.sh
0 → 100755
View file @
1c308123
#!/bin/sh
TAR
=
"
$1
"
RETURNTARNAME
=
"
$2
"
VERSION
=
"
$3
"
.
$(
dirname
$0
)
/common.sh
PKG
=
"
$(
basename
$TAR
)
"
# we need this pack script to override broken package version
cp
-v
$TAR
$PKG
cat
<<
EOF
>
$PKG
.eepm.yaml
name:
$PRODUCT
version:
$VERSION
upstream_file:
$PKG
EOF
return_tar
$PKG
play.d/guardant.sh
0 → 100755
View file @
1c308123
#!/bin/sh
PKGNAME
=
glds
SUPPORTEDARCHES
=
"x86_64"
VERSION
=
"
$2
"
DESCRIPTION
=
"Guardant License Server from the official site"
URL
=
"https://www.guardant.ru/support/users/download/1223/"
.
$(
dirname
$0
)
/common.sh
[
"
$VERSION
"
=
"*"
]
&&
VERSION
=
"
$(
basename
$(
epm tool eget
--list
--latest
https://download.guardant.ru/LM/Linux/
'*/'
))
"
shortarch
=
x64
pkgtype
=
"
$(
epm print info
-p
)
"
case
"
$pkgtype
"
in
rpm
)
file
=
"glds-*.x86_64.rpm"
;;
deb
)
file
=
"glds-*_x86_64.deb"
;;
*
)
file
=
"glds-*_x86_64.deb"
;;
esac
PKGURL
=
$(
epm tool eget
--list
--latest
https://download.guardant.ru/LM/Linux/
$VERSION
/
$shortarch
/
"
$file
"
)
||
fatal
"Can't get package URL"
repack
=
''
[
"
$(
epm print info
-s
)
"
=
"alt"
]
&&
repack
=
'--repack'
epm pack
$PKGNAME
$repack
--install
"
$PKGURL
"
"
$VERSION
"
||
exit
cat
<<
EOF
Note: run
# serv glds on
to start Guardant License Server permanently
EOF
repack.d/glds.sh
0 → 100755
View file @
1c308123
#!/bin/sh -x
# It will be run with two args: buildroot spec
BUILDROOT
=
"
$1
"
SPEC
=
"
$2
"
PRODUCTDIR
=
/opt/guardant/glds
.
$(
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