void-packages/srcpkgs/musl-bootstrap/template

21 lines
625 B
Text
Raw Normal View History

2012-12-06 05:00:00 +00:00
# Template file for 'musl-bootstrap'.
pkgname=musl-bootstrap
2014-03-20 10:15:24 +00:00
version=1.0.0
2012-12-06 05:00:00 +00:00
revision=1
2014-03-20 10:15:24 +00:00
lib32disabled=yes
2012-12-06 05:00:00 +00:00
wrksrc="musl-${version}"
2013-07-17 17:50:45 +00:00
build_style=configure
2012-12-06 05:00:00 +00:00
configure_args="--prefix=/usr/lib/musl"
2013-07-29 19:42:41 +00:00
short_desc="The musl C library (bootstrap pkg)"
2012-12-06 05:00:00 +00:00
maintainer="Juan RP <xtraeme@gmail.com>"
license="MIT"
homepage="http://www.musl-libc.org/"
distfiles="http://www.musl-libc.org/releases/musl-${version}.tar.gz"
2014-03-20 10:15:24 +00:00
checksum=1ad7f45d2972daff19c9e6a92714e6d70f4aad003cd8c3d1e6113432114c1a32
2012-12-06 05:00:00 +00: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
}