void-packages/srcpkgs/libCello/template
2015-07-02 21:18:21 +02:00

24 lines
651 B
Bash

# Template file for 'libcello'
pkgname=libCello
version=1.1.7
revision=3
short_desc="Higher level programming in C"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.libcello.org/"
license="BSD"
distfiles="http://$pkgname.org/static/$pkgname-$version.tar.gz"
checksum=2273fe8257109c2dd19054beecd83ddcc780ec565a1ad02721e24efa74082908
post_configure() {
# There is no include <execinfo.h> in musl libc
sed -e "s;defined(__unix__);(defined(__unix__) \&\& defined(__GLIBC__));" \
-i src/Exception.c
}
do_build() {
sed -i 's,CFLAGS =,CFLAGS +=,' Makefile
make CC=$CC ${makejobs}
}
do_install() {
make PREFIX=${DESTDIR}/usr install
}