# Template file for 'libcello' pkgname=libCello version=2.0.3 revision=1 short_desc="Higher level programming in C" maintainer="Juan RP " homepage="http://www.libcello.org/" license="BSD" distfiles="http://$pkgname.org/static/$pkgname-$version.tar.gz" checksum=2ebe995f0175c8397f41a32751e60d1b4907eddae7c1442c67d484a16d1c6b99 post_configure() { # There is no include 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 } post_install() { vlicense LICENSE.md LICENSE }