Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Adélie Linux
Adélie Package Tree
Commits
a278c3e0
Verified
Commit
a278c3e0
authored
Jan 01, 2020
by
A. Wilcox
🦊
Browse files
user/*: Modernise / fix syntax / deps
parent
4c66fd86
Changes
21
Hide whitespace changes
Inline
Side-by-side
user/valgrind/APKBUILD
View file @
a278c3e0
...
...
@@ -5,14 +5,15 @@ pkgrel=0
pkgdesc
=
"A tool to help find memory-management problems in programs"
url
=
"http://valgrind.org/"
arch
=
"all"
license
=
"GPL-2.0+"
makedepends
=
"autoconf automake libtool bash perl cmd:which"
# from README_PACKAGERS:
# Don't strip the debug info off lib/valgrind/$platform/vgpreload*.so
# in the installation tree. Either Valgrind won't work at all, or it
# will still work if you do, but will generate less helpful error
# messages.
options
=
"!strip !check"
license
=
"GPL-2.0+"
depends
=
""
makedepends
=
"autoconf automake libtool bash perl cmd:which"
subpackages
=
"
$pkgname
-dev
$pkgname
-doc"
source
=
"ftp://sourceware.org/pub/
$pkgname
/
$pkgname
-
$pkgver
.tar.bz2
0001-Ensure-ELFv2-is-supported-on-PPC64.patch
...
...
@@ -24,13 +25,11 @@ source="ftp://sourceware.org/pub/$pkgname/$pkgname-$pkgver.tar.bz2
prepare
()
{
default_prepare
cd
"
$builddir
"
aclocal
&&
autoconf
&&
automake
--add-missing
echo
'#include <linux/a.out.h>'
>
include/a.out.h
}
build
()
{
cd
"
$builddir
"
# fails to build with ccache
export
CC
=
"gcc"
export
CFLAGS
=
"
$CFLAGS
-fno-stack-protector -no-pie"
...
...
@@ -47,12 +46,10 @@ build() {
}
check
()
{
cd
"
$buildir
"
make check
}
package
()
{
cd
"
$builddir
"
make
DESTDIR
=
"
$pkgdir
"
install
# we have options=!strip above so we strip the /usr/bin/* manually
...
...
Prev
1
2
Next
Write
Preview
Supports
Markdown
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