void-packages/srcpkgs/musl-bootstrap/template

23 lines
699 B
Bash
Raw Normal View History

2012-12-06 06:00:00 +01:00
# Template file for 'musl-bootstrap'.
pkgname=musl-bootstrap
2015-03-30 08:45:13 +02:00
version=1.1.8
2012-12-06 06:00:00 +01:00
revision=1
2014-03-20 11:15:24 +01:00
lib32disabled=yes
2012-12-06 06:00:00 +01:00
wrksrc="musl-${version}"
2013-07-17 19:50:45 +02:00
build_style=configure
2012-12-06 06:00:00 +01:00
configure_args="--prefix=/usr/lib/musl"
2013-07-29 21:42:41 +02:00
short_desc="The musl C library (bootstrap pkg)"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2012-12-06 06:00:00 +01:00
license="MIT"
homepage="http://www.musl-libc.org/"
distfiles="http://www.musl-libc.org/releases/musl-${version}.tar.gz"
2015-03-30 08:45:13 +02:00
checksum=fa928506415b9c555977daaf874c190eaf7fbbd16028cc5c5f33a00a83227813
2014-06-02 11:12:28 +02:00
CFLAGS="-fno-toplevel-reorder -fno-stack-protector -U_FORTIFY_SOURCE"
2012-12-06 06:00:00 +01:00
post_install() {
mv ${DESTDIR}/lib/* ${DESTDIR}/usr/lib/
vmkdir usr/bin
ln -sfr ${DESTDIR}/usr/lib/musl/bin/musl-gcc ${DESTDIR}/usr/bin/musl-gcc
}