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
4af82251
Commit
4af82251
authored
7 years ago
by
A. Wilcox
Committed by
Ariadne Conill
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
main/sg3_utils: modernise, fix license, mark no tests
parent
4f5a588a
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
main/sg3_utils/APKBUILD
+8
-17
8 additions, 17 deletions
main/sg3_utils/APKBUILD
with
8 additions
and
17 deletions
main/sg3_utils/APKBUILD
+
8
−
17
View file @
4af82251
...
...
@@ -2,42 +2,33 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname
=
sg3_utils
pkgver
=
1.42
pkgrel
=
0
pkgrel
=
1
pkgdesc
=
"Generic SCSI utilities"
url
=
"http://sg.danny.cz/sg/sg3_utils.html"
arch
=
"all"
license
=
"GPL"
options
=
"!check"
# No test suite.
license
=
"BSD-3-Clause, GPL-2.0+"
depends
=
makedepends
=
"linux-headers"
install
=
subpackages
=
"
$pkgname
-dev
$pkgname
-doc"
source
=
"http://sg.danny.cz/sg/p/
$pkgname
-
$pkgver
.tgz"
_builddir
=
"
$srcdir
"
/
$pkgname
-
$pkgver
prepare
()
{
cd
"
$_builddir
"
# apply patches here
}
build
()
{
cd
"
$
_
builddir
"
cd
"
$builddir
"
./configure
\
--build
=
$CBUILD
\
--host
=
$CHOST
\
--prefix
=
/usr
\
--sysconfdir
=
/etc
\
--mandir
=
/usr/share/man
\
--infodir
=
/usr/share/info
\
||
return
1
make
||
return
1
--infodir
=
/usr/share/info
make
}
package
()
{
cd
"
$
_
builddir
"
make
DESTDIR
=
"
$pkgdir
"
install
||
return
1
cd
"
$builddir
"
make
DESTDIR
=
"
$pkgdir
"
install
}
md5sums
=
"28080de5bf2222f8b55a29093bec8aea sg3_utils-1.42.tgz"
sha256sums
=
"1dcb7a0309bd0ba3d4a83acb526973b80106ee26cd9f7398186cd3f0633c9ef3 sg3_utils-1.42.tgz"
sha512sums
=
"d16b65e36b2bccb4fc4c189f97e71fa38e6619f37d668a4ddd74a52c715fa62325288d9737812ed19c80547059dbd27be5a20565e27e1aabb571e8f5f8ac53ad sg3_utils-1.42.tgz"
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