This repository has been archived on 2022-01-17. You can view files and clone it, but cannot push or open issues/pull-requests.
2019-08-03 12:06:11 +02:00
|
|
|
|
name: musl
|
|
|
|
|
version: 1.1.23
|
2019-08-25 17:23:54 +02:00
|
|
|
|
release: 2
|
2019-08-03 12:06:11 +02:00
|
|
|
|
sources: https://www.musl-libc.org/releases/musl-%{version}.tar.gz
|
|
|
|
|
options:
|
|
|
|
|
- configure: --prefix=/usr --libdir=/lib --syslibdir=/lib --enable-shared --enable-static
|
|
|
|
|
|
2019-08-25 17:23:54 +02:00
|
|
|
|
@install
|
|
|
|
|
cd %{name}-%{version}
|
|
|
|
|
|
|
|
|
|
make DESTDIR="%{pkg}" install
|
|
|
|
|
|
|
|
|
|
# FIXME: This’ll have to eventually be more automated.
|
|
|
|
|
# FIXME: That path has to be edited on other architectures.
|
|
|
|
|
mkdir -p %{pkg}/etc
|
|
|
|
|
{
|
|
|
|
|
echo /lib
|
|
|
|
|
echo /usr/weirdos/lib
|
|
|
|
|
echo /usr/bad/lib
|
|
|
|
|
echo /usr/local/lib
|
|
|
|
|
} > %{pkg}/etc/ld-musl-x86_64.path
|
|
|
|
|
|