milis/talimatname/genel/m/musl/talimat

24 lines
552 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: C standart kütüphanesinin hafif gerçeklemesi
# URL: http://www.musl-libc.org/
# Paketçi: milisarge
# Gerekler:
isim=musl
surum=1.1.17
devir=1
kaynak=(https://www.musl-libc.org/releases/musl-1.1.17.tar.gz{,.asc}
)
derle() {
cd $isim-$surum
./configure --prefix=/usr/lib/musl \
--exec-prefix=/usr \
--enable-wrapper=all
make
make DESTDIR="$PKG" install
install -dm755 "$PKG"/usr/lib/
mv "$PKG"/lib/ld-musl*.so* "$PKG"/usr/lib/
rmdir "$PKG"/lib
install -Dm0644 COPYRIGHT "$PKG"/usr/share/licenses/musl/COPYRIGHT
}