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
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
Bart Ribbers
aports
Commits
8764a906
Commit
8764a906
authored
9 years ago
by
Sören Tempel
Browse files
Options
Downloads
Patches
Plain Diff
testing/outils: Split package into multiple subpackages
parent
e48d7b02
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
testing/outils/APKBUILD
+31
-5
31 additions, 5 deletions
testing/outils/APKBUILD
with
31 additions
and
5 deletions
testing/outils/APKBUILD
+
31
−
5
View file @
8764a906
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname
=
outils
pkgname
=
outils
pkgver
=
0.3
pkgver
=
0.3
pkgrel
=
2
pkgrel
=
3
pkgdesc
=
"Port of some non-standard OpenBSD tools to Linux"
pkgdesc
=
"Port of some non-standard OpenBSD tools to Linux"
url
=
"https://github.com/chneukirchen/outils"
url
=
"https://github.com/chneukirchen/outils"
arch
=
"all"
arch
=
"all"
...
@@ -11,7 +11,24 @@ depends=""
...
@@ -11,7 +11,24 @@ depends=""
depends_dev
=
""
depends_dev
=
""
makedepends
=
"openssl-dev linux-headers"
makedepends
=
"openssl-dev linux-headers"
install
=
""
install
=
""
subpackages
=
"
$pkgname
-doc"
subpackages
=
"
$pkgname
-doc
$pkgname
-sha256:_tool
$pkgname
-lndir:_tool
$pkgname
-rdate:_tool
$pkgname
-calendar:_tool
$pkgname
-lam:_tool
$pkgname
-what:_tool
$pkgname
-rs:_tool
$pkgname
-unvis:_tool
$pkgname
-gzsig:_tool
$pkgname
-md5:_tool
$pkgname
-sha1:_tool
$pkgname
-apply:_tool
$pkgname
-sha512:_tool
$pkgname
-vis:_tool
$pkgname
-signify:_tool
$pkgname
-jot:_tool
$pkgname
-cksum:_tool"
source
=
"
$pkgname
-
$pkgver
.tar.gz::https://github.com/chneukirchen/
$pkgname
/archive/v
$pkgver
.tar.gz"
source
=
"
$pkgname
-
$pkgver
.tar.gz::https://github.com/chneukirchen/
$pkgname
/archive/v
$pkgver
.tar.gz"
_builddir
=
"
$srcdir
"
/
$pkgname
-
$pkgver
_builddir
=
"
$srcdir
"
/
$pkgname
-
$pkgver
...
@@ -30,10 +47,19 @@ build() {
...
@@ -30,10 +47,19 @@ build() {
package
()
{
package
()
{
make
DESTDIR
=
"
$pkgdir
"
install
\
make
DESTDIR
=
"
$pkgdir
"
install
\
-C
"
$_builddir
"
||
return
1
-C
"
$_builddir
"
||
return
1
}
_tool
()
{
local
name
=
$(
echo
$subpkgname
|
cut
-d
'-'
-f2
)
pkgdesc
=
"
$name
tool from
$pkgname
"
if
[
name
=
"cksum"
]
;
then
depends
=
"!coreutils
$depends
"
fi
# Don't conflict with main/coreutils.
mkdir
-p
"
$subpkgdir
"
/usr/bin
rm
-f
"
$pkgdir
"
/usr/bin/
cksum
||
return
1
mv
"
$pkgdir
"
/usr/bin/
$name
\
rm
-f
"
$
pkgdir
"
/usr/
share/man/man1/cksum.1
||
return
1
"
$sub
pkgdir
"
/usr/
bin/
$name
||
return
1
}
}
md5sums
=
"cb5d6274c78fd5dab8d5612668db08a3 outils-0.3.tar.gz"
md5sums
=
"cb5d6274c78fd5dab8d5612668db08a3 outils-0.3.tar.gz"
...
...
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