Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
alpine
aports
Commits
7ee68d52
Commit
7ee68d52
authored
7 years ago
by
tmpfile
Committed by
Natanael Copa
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
main/alsa-lib: modernize abuild
parent
419fc5cf
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
main/alsa-lib/APKBUILD
+7
-24
7 additions, 24 deletions
main/alsa-lib/APKBUILD
with
7 additions
and
24 deletions
main/alsa-lib/APKBUILD
+
7
−
24
View file @
7ee68d52
...
...
@@ -6,7 +6,6 @@ pkgdesc="An alternative implementation of Linux sound support"
url
=
"http://www.alsa-project.org"
arch
=
"all"
license
=
"LGPL2+"
depends
=
""
subpackages
=
"
$pkgname
-dev
$pkgname
-dbg"
makedepends
=
"linux-headers"
source
=
"ftp://ftp.alsa-project.org/pub/lib/
$pkgname
-
$pkgver
.tar.bz2
...
...
@@ -16,21 +15,16 @@ source="ftp://ftp.alsa-project.org/pub/lib/$pkgname-$pkgver.tar.bz2
ppc64le_symbols.patch
"
_
builddir
=
"
$srcdir
/
$pkgname
-
$pkgver
"
builddir
=
"
$srcdir
/
$pkgname
-
$pkgver
"
prepare
()
{
local
i
cd
"
$_builddir
"
cd
"
$builddir
"
update_config_sub
||
return
1
rm
src/compat/hsearch_r.c
&&
touch
src/compat/hsearch_r.c
for
i
in
$source
;
do
case
$i
in
*
.patch
)
msg
$i
;
patch
-p1
-i
"
$srcdir
"
/
$i
||
return
1
;;
esac
done
default_prepare
}
build
()
{
cd
"
$
_
builddir
"
cd
"
$builddir
"
./configure
\
--build
=
$CBUILD
\
--host
=
$CHOST
\
...
...
@@ -42,26 +36,15 @@ build() {
--enable-seq
\
--enable-aload
\
--disable-dependency-tracking
\
--without-versioned
\
||
return
1
make
||
return
1
--without-versioned
make
}
package
()
{
cd
"
$srcdir
/
$pkgname
-
$pkgver
"
make
-j1
DESTDIR
=
"
$pkgdir
"
install
||
return
1
make
-j1
DESTDIR
=
"
$pkgdir
"
install
}
md5sums
=
"eefe5992567ba00d6110a540657aaf5c alsa-lib-1.1.3.tar.bz2
8005b9b9c2aad55912f87e0829437c17 alsa-lib-poll.patch
1349b595ef97c42873b917b2cf7c0e37 alsa-lib-stdint.patch
c552ede907722a4fccf5217f7f5e97ba ucm_add_limits_h.patch
0f21ec0b673d5f5c08bfa6a908cd1255 ppc64le_symbols.patch"
sha256sums
=
"71282502184c592c1a008e256c22ed0ba5728ca65e05273ceb480c70f515969c alsa-lib-1.1.3.tar.bz2
b4f5c664756868ba68b170b8b74f5deebdade3b83349e2073a500caece6e0af1 alsa-lib-poll.patch
5cd15e2bbccf72d04a20db9f11bdd4dee3342f5c365d8141450916e263d9aebc alsa-lib-stdint.patch
9663e66579fd15901c52b72815612035565b793fa3d9b6cca0d774dab1b4b4c9 ucm_add_limits_h.patch
5ff12f03a2453d70f142735c5a42983006ac1a7ce50e50a1531e47fce525a346 ppc64le_symbols.patch"
sha512sums
=
"f5dbe2375a8c66af14378314a5238284d4ed63dfc86a750c0c6e8f6cdb6b1ea2d8ef26f870b5d152dc0b77d9b40821cab523f6734902b91583beb08e28c66850 alsa-lib-1.1.3.tar.bz2
bdf86a1b76b2e6e9b43af33989fe51e4900fa0c6f317d8d746f30c540df647dbe0f6d41ec35b36b1cf7e46cc5e910e0a62bc39c765f849356ecd6e98d1de5885 alsa-lib-poll.patch
2351262dade9a3c1a3de1b7d1a3a53a634a438b9b8aae7cc69e2b981500051f039e6381359b81392114ec6236e3d513b577bd4bf12c3d2ce1f871cd7651b2cab alsa-lib-stdint.patch
...
...
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