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
1000d2d0
Commit
1000d2d0
authored
5 years ago
by
Leo
Committed by
Francesco Colista
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
main/gengetopt: upgrade to 2.23
parent
7923a2db
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
main/gengetopt/APKBUILD
+11
-28
11 additions, 28 deletions
main/gengetopt/APKBUILD
with
11 additions
and
28 deletions
main/gengetopt/APKBUILD
+
11
−
28
View file @
1000d2d0
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname
=
gengetopt
pkgver
=
2.2
2.6
pkgrel
=
2
pkgver
=
2.2
3
pkgrel
=
0
pkgdesc
=
"Tool to write command line option parsing code for C programs"
url
=
"https://www.gnu.org/software/gengetopt/"
arch
=
"all"
license
=
"GPL-3.0-or-later"
depends
=
""
depends_dev
=
"gengetopt"
makedepends
=
"
$depends_dev
"
install
=
""
subpackages
=
"
$pkgname
-dev
$pkgname
-doc"
source
=
"https://ftp.gnu.org/gnu/gengetopt/gengetopt-
$pkgver
.tar.gz"
_builddir
=
"
$srcdir
"
/gengetopt-
$pkgver
prepare
()
{
local
i
cd
"
$_builddir
"
for
i
in
$source
;
do
case
$i
in
*
.patch
)
msg
$i
;
patch
-p1
-i
"
$srcdir
"
/
$i
||
return
1
;;
esac
done
update_config_sub
}
makedepends
=
"
$depends_dev
texinfo"
subpackages
=
"
$pkgname
-doc
$pkgname
-dev"
source
=
"https://ftp.gnu.org/gnu/gengetopt/
${
pkgname
}
-
${
pkgver
}
.tar.xz"
build
()
{
cd
"
$
_
builddir
"
cd
"
$builddir
"
./configure
\
--build
=
$CBUILD
\
--host
=
$CHOST
\
...
...
@@ -35,16 +21,13 @@ build() {
--sysconfdir
=
/etc
\
--mandir
=
/usr/share/man
\
--infodir
=
/usr/share/info
\
--localstatedir
=
/var
\
||
return
1
make
-j1
||
return
1
--localstatedir
=
/var
make
}
package
()
{
cd
"
$
_
builddir
"
make
DESTDIR
=
"
$pkgdir
"
install
||
return
1
cd
"
$builddir
"
make
DESTDIR
=
"
$pkgdir
"
install
}
md5sums
=
"29749a48dda69277ab969c510597a14e gengetopt-2.22.6.tar.gz"
sha256sums
=
"30b05a88604d71ef2a42a2ef26cd26df242b41f5b011ad03083143a31d9b01f7 gengetopt-2.22.6.tar.gz"
sha512sums
=
"dad5baf1b6c4c76ae7f532dd63c6aecdc30f31d68a259b6a26a10197f1fe42dc9147a52ac12a0c3fc4b7cd61d288a343a9223f967a5a9a15a0614330b41f68dc gengetopt-2.22.6.tar.gz"
sha512sums
=
"3749191d35acbeff6680f2a4d0516706a0491053f632aaa44ead7c3a42e56f9870bd7c4a85a1886f2052e17d86a2853e2f65d445e0c9920e41f1dc354f003712 gengetopt-2.23.tar.xz"
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