Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Adélie Package Tree
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Adélie Linux
Adélie Package Tree
Commits
38ca9a60
Commit
38ca9a60
authored
6 years ago
by
Laurent Bercot
Browse files
Options
Downloads
Patches
Plain Diff
user/nacl: new package (tentative)
parent
12247c01
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
user/nacl/APKBUILD
+33
-0
33 additions, 0 deletions
user/nacl/APKBUILD
with
33 additions
and
0 deletions
user/nacl/APKBUILD
0 → 100644
+
33
−
0
View file @
38ca9a60
# Contributor: Laurent Bercot <ska-adelie@skarnet.org>
# Maintainer: Laurent Bercot <ska-adelie@skarnet.org>
pkgname
=
nacl
pkgver
=
20110221
pkgrel
=
0
pkgdesc
=
"Networking and Cryptography library"
url
=
"https://nacl.cr.yp.to/"
arch
=
"all"
options
=
"!check"
# No test suite.
license
=
"Public-Domain"
subpackages
=
"
$pkgname
-dev"
source
=
"https://hyperelliptic.org/
$pkgname
/
$pkgname
-
$pkgver
.tar.bz2"
_bins
=
"curvecpclient curvecpmakekey curvecpmessage curvecpprintkey curvecpserver nacl-sha256 nacl-sha512"
build
()
{
cd
"
$builddir
"
echo
"
$CC
$CFLAGS
"
>
okcompilers/c
echo
"g++
$CXXFLAGS
"
>
okcompilers/cpp
./do
done
# 'done' is only there to work around buggy syntax highlighting >.>
}
package
()
{
mkdir
-p
"
$pkgdir
/usr/bin"
"
$pkgdir
/usr/include/
$pkgname
"
"
$pkgdir
/usr/lib/
$pkgname
"
_shorthostname
=
`
hostname
|
sed
's/\..*//'
|
tr
-cd
'[a-z][A-Z][0-9]'
`
cd
"
$builddir
/build/
$_shorthostname
"
_okabi
=
`
bin/okabi |
head
-n
1
`
for
i
in
$_bins
;
do
cp
"bin/
$i
"
"
$pkgdir
/usr/bin/"
;
done
cp
include/cpuid.h include/
"
$_okabi
"
/
*
.h
"
$pkgdir
/usr/include/
$pkgname
/"
ln
-s
.
"
$pkgdir
/usr/include/
$pkgname
/
$_okabi
"
cp
lib/
"
$_okabi
"
/
*
.o lib/
"
$_okabi
"
/
*
.a
"
$pkgdir
/usr/lib/
$pkgname
"
}
sha512sums
=
"4c031ceffe6a28dc74b46ac003d485531f78de467c802df73c8b22ca53644dabb7d2e3080b7bdd6583f0d07ad76b6d95bc0ffdce319ca2f80ee041e6fe618656 nacl-20110221.tar.bz2"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment