mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
added extra/musl
This commit is contained in:
parent
b75fc916de
commit
c80b868890
3 changed files with 91 additions and 0 deletions
22
extra/musl/.SRCINFO
Normal file
22
extra/musl/.SRCINFO
Normal file
|
@ -0,0 +1,22 @@
|
|||
pkgbase = musl
|
||||
pkgdesc = Lightweight implementation of C standard library
|
||||
pkgver = 1.2.5
|
||||
pkgrel = 2
|
||||
url = https://www.musl-libc.org/
|
||||
arch = x86_64
|
||||
license = MIT
|
||||
makedepends = aarch64-linux-gnu-gcc
|
||||
makedepends = riscv64-linux-gnu-gcc
|
||||
options = staticlibs
|
||||
options = !buildflags
|
||||
source = https://www.musl-libc.org/releases/musl-1.2.5.tar.gz
|
||||
source = https://www.musl-libc.org/releases/musl-1.2.5.tar.gz.asc
|
||||
validpgpkeys = 836489290BB6B70F99FFDA0556BCDB593020450F
|
||||
sha256sums = a9a118bbe84d8764da0ea0d28b3ab3fae8477fc7e4085d90102b8596fc7c75e4
|
||||
sha256sums = SKIP
|
||||
|
||||
pkgname = musl
|
||||
|
||||
pkgname = musl-aarch64
|
||||
|
||||
pkgname = musl-riscv64
|
40
extra/musl/PKGBUILD
Normal file
40
extra/musl/PKGBUILD
Normal file
|
@ -0,0 +1,40 @@
|
|||
# Maintainer: Sergej Pupykin <arch+pub@sergej.pp.ru>
|
||||
# Maintainer: Eli Schwartz <eschwartz@archlinux.org>
|
||||
# Contributor: TJ Vanderpoel <tj@rubyists>
|
||||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - remove aarch64 and riscv64 cross-compiles
|
||||
|
||||
pkgname=musl
|
||||
pkgver=1.2.5
|
||||
pkgrel=2
|
||||
pkgdesc='Lightweight implementation of C standard library'
|
||||
arch=('x86_64')
|
||||
url='https://www.musl-libc.org/'
|
||||
license=('MIT')
|
||||
options=('staticlibs' '!buildflags')
|
||||
validpgpkeys=('836489290BB6B70F99FFDA0556BCDB593020450F')
|
||||
source=(https://www.musl-libc.org/releases/musl-$pkgver.tar.gz{,.asc})
|
||||
sha256sums=('a9a118bbe84d8764da0ea0d28b3ab3fae8477fc7e4085d90102b8596fc7c75e4'
|
||||
'SKIP')
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
./configure --prefix=/usr/lib/musl \
|
||||
--exec-prefix=/usr \
|
||||
--enable-wrapper=all \
|
||||
CFLAGS="-ffat-lto-objects"
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
make DESTDIR="$pkgdir" install
|
||||
|
||||
# configure syslibdir with /lib for PT_INTERP compat, but install to /usr/lib
|
||||
mv "$pkgdir"/lib/ld-musl*.so* "$pkgdir"/usr/lib/
|
||||
rmdir "$pkgdir"/lib
|
||||
|
||||
install -Dm0644 README "$pkgdir"/usr/share/doc/musl/README
|
||||
install -Dm0644 COPYRIGHT "$pkgdir"/usr/share/licenses/musl/COPYRIGHT
|
||||
}
|
|
@ -0,0 +1,29 @@
|
|||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
|
||||
mQENBFNcU8EBCAC3g30bXEEh+YzD06JQ+iG+gr5Nb+tjianh8aJ/ql35lqICVj6F
|
||||
nitol0KgSB1L3T80+EON3IEmic9rb2dw6EQ0rMl/6mSW91jQC1rGkGBZnlPZXOSW
|
||||
JznNTBeHaK1NlG6m0shZ+wePWXHoFDtxaEoaMqAzR+E3EkSduLQb9tJJ2vtmIC2X
|
||||
5SFT625DKpRYOpcUxX/d63U+gSQThTitHS9Me0mljcP+qKhP/HIajesx6s5QTBBe
|
||||
vOlzih5MpI0FHcwSIbPwhPUWRS2RdFKfJRQZQAQ1ZiOJL0W82eFI1uztDgfudPcf
|
||||
BbgZcSjqvrKiXaeZxHsj3aguaOqaKdRlkyD1ABEBAAG0GW11c2wgbGliYyA8bXVz
|
||||
bEBsaWJjLm9yZz6JATcEEwECACEFAlNcU8ECGwMGCwkIBwMCBhUIAgkK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H
|
||||
KniPwcWR8Sh0PUcVjUPFzdZz1Qpc+9VYp626p2OZ+tlLO41OZAsbJ24+cWB/fkWu
|
||||
H6g/nw7y9+2xtX8TIi6YBtLCPx/5IcY8LzrSFC+NFYll5V1SoTiGtdhudSfs0Eb2
|
||||
RXdP42mK+kMrgynbOn1RP7p/rfpSlA==
|
||||
=FgKg
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
Loading…
Reference in a new issue