🔒 Repository is read-only – file editing is disabled.
12345678910111213141516171819202122232425262728293031
pkgname: musl
pkgver: '1.2.6'
pkgrel: '1'
pkgdesc: Lightweight, fast, simple, free, and strives to be correct libc
url: 'https://www.musl-libc.org/'
arch: x86_64
depends: []
makedepends:
- perl
source:
- 'https://www.kernel.org/pub/linux/kernel/v4.x/linux-4.19.tar.xz'
- 'https://www.musl-libc.org/releases/musl-${pkgver}.tar.gz'
sha256sums:
- 0c68f5655528aed4f99dae71a5b259edc93239fa899e2df79c055275c21749a1
- d585fd3b613c66151fc3249e8ed44f77020cb5e6c1e635a616d3f9f82460512a
build: |
cd linux-4.19
make mrproper
make headers_check
make INSTALL_HDR_PATH=dest headers_install
mkdir -p ${PKGDIR}/usr/include/musl
cp -rv dest/include/* ${PKGDIR}/usr/include/musl
cd ../${pkgname}-${pkgver}
./configure --prefix=/usr/lib/musl \
--exec-prefix=/usr \
--enable-wrapper=all \
--includedir=/usr/include/musl
make
make DESTDIR=${PKGDIR} install
package: |
true