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
a463b265
Commit
a463b265
authored
3 years ago
by
Natanael Copa
Browse files
Options
Downloads
Patches
Plain Diff
main/libusb-compat: upgrade to 0.1.7 and modernize
parent
57df2daf
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/libusb-compat/APKBUILD
+14
-11
14 additions, 11 deletions
main/libusb-compat/APKBUILD
with
14 additions
and
11 deletions
main/libusb-compat/APKBUILD
+
14
−
11
View file @
a463b265
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname
=
libusb-compat
pkgname
=
libusb-compat
pkgver
=
0.1.
5
pkgver
=
0.1.
7
pkgrel
=
4
pkgrel
=
0
pkgdesc
=
"Compatility for older libusb"
pkgdesc
=
"Compatility for older libusb"
url
=
"http://libusb.
sourceforge.net
/"
url
=
"http
s
://libusb.
info
/"
arch
=
"all"
arch
=
"all"
options
=
"!check"
# No test suite.
license
=
"LGPL-2.1-or-later"
license
=
"LGPL-2.1+"
subpackages
=
"
$pkgname
-dev"
subpackages
=
"
$pkgname
-dev"
depends
=
makedepends
=
"libusb-dev"
makedepends
=
"libusb-dev"
source
=
"https://
downloads.sourceforge.net/libusb/
$pkgname
-
$pkgver
.tar.
bz2
source
=
"https://
github.com/libusb/libusb-compat-0.1/releases/download/v
$pkgver
/libusb-compat
-
$pkgver
.tar.
gz
fix-headers.patch"
fix-headers.patch"
prepare
()
{
prepare
()
{
...
@@ -19,7 +17,6 @@ prepare() {
...
@@ -19,7 +17,6 @@ prepare() {
}
}
build
()
{
build
()
{
cd
"
$builddir
"
./configure
\
./configure
\
--build
=
$CBUILD
\
--build
=
$CBUILD
\
--host
=
$CHOST
\
--host
=
$CHOST
\
...
@@ -27,9 +24,15 @@ build() {
...
@@ -27,9 +24,15 @@ build() {
make
make
}
}
check
()
{
make check
}
package
()
{
package
()
{
cd
"
$builddir
"
make
DESTDIR
=
"
$pkgdir
"
install
make
DESTDIR
=
"
$pkgdir
"
install
}
}
sha512sums
=
"fe63bd1c65e67588a83ebfdd329025ecf75f33f877fb80dd83eb528df057efb591e010416027f9054294504562299166e8e2811a7681fa1967a03baae9b88857 libusb-compat-0.1.5.tar.bz2
3abb7e90299f6cdb397b4fcf1b7af0bfc20cc3b0937e0787716109608313bc988ce3532ed88ba4d05e7d57bdaca3de4b5ce704e0a3d4bf871c48ac03103a18d7 fix-headers.patch"
sha512sums
=
"
8f3b2f9a275987b13278215b28950f9bc4c4cd30d3dc08ff5141ed6486d484981d059588533857eb521a5362ce2eb74c9f9c98f3d0c59d9a288debf9fc95a882 libusb-compat-0.1.7.tar.gz
3abb7e90299f6cdb397b4fcf1b7af0bfc20cc3b0937e0787716109608313bc988ce3532ed88ba4d05e7d57bdaca3de4b5ce704e0a3d4bf871c48ac03103a18d7 fix-headers.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