mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-30 13:51:31 +01:00
samurai already reads SAMUFLAGS set to job count so this is redundant same for MAKEFLAGS and make
33 lines
979 B
Plaintext
33 lines
979 B
Plaintext
# Contributor: Olliver Schinagl <oliver@schinagl.nl>
|
|
# Maintainer: Olliver Schinagl <oliver@schinagl.nl>
|
|
pkgname="objconv"
|
|
pkgver="2.52_git20210213"
|
|
pkgrel=2
|
|
pkgdesc="Agner's Object file converter"
|
|
url="http://www.agner.org/optimize/#objconv"
|
|
arch="all"
|
|
license="GPL-3.0-or-later" # License is GPL with a link to gnu's GPL v3
|
|
options="!check" # No tests available
|
|
_commitish="42c66561231fffd39030778c1590ffb232539da3"
|
|
source="
|
|
${pkgname}-${pkgver}.tar.gz::https://github.com/gitGNU/objconv/archive/${_commitish}.tar.gz
|
|
"
|
|
builddir="${srcdir}/${pkgname}-${_commitish}"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
|
|
find "${builddir}/" -type f -iname 'objconv' -delete
|
|
}
|
|
|
|
build() {
|
|
cd "${builddir}/src/"
|
|
make -f "../Makefile"
|
|
}
|
|
|
|
package() {
|
|
install -D -m 0755 "${builddir}/src/objconv" "${pkgdir}/usr/bin/objconv"
|
|
}
|
|
|
|
sha512sums="5f711e0655ba9d95e2df0f76cff2f375dac943f81e97a88681664fde467e658923e604b89f31a85bc924d8e8fd606b1e4fa8871e391d1f9ea8408b474fac1b8a objconv-2.52_git20210213.tar.gz"
|