2013-07-16 08:14:16 +00:00
|
|
|
# Template file for 'libcello'
|
2013-07-26 08:02:58 +00:00
|
|
|
pkgname=libCello
|
2014-06-08 10:22:01 +00:00
|
|
|
version=1.1.7
|
2015-07-02 17:43:58 +00:00
|
|
|
revision=3
|
2013-07-16 08:14:16 +00:00
|
|
|
short_desc="Higher level programming in C"
|
2015-04-10 07:16:30 +00:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2013-07-16 08:14:16 +00:00
|
|
|
homepage="http://www.libcello.org/"
|
|
|
|
license="BSD"
|
|
|
|
distfiles="http://$pkgname.org/static/$pkgname-$version.tar.gz"
|
2014-06-08 10:22:01 +00:00
|
|
|
checksum=2273fe8257109c2dd19054beecd83ddcc780ec565a1ad02721e24efa74082908
|
2015-06-13 08:11:33 +00:00
|
|
|
|
2015-07-02 17:43:58 +00:00
|
|
|
post_configure() {
|
|
|
|
# There is no include <execinfo.h> in musl libc
|
|
|
|
sed -e "s;defined(__unix__);(defined(__unix__) \&\& defined(__GLIBC__));" \
|
|
|
|
-i src/Exception.c
|
|
|
|
}
|
2015-06-13 08:11:33 +00:00
|
|
|
do_build() {
|
|
|
|
sed -i 's,CFLAGS =,CFLAGS +=,' Makefile
|
|
|
|
make CC=$CC ${makejobs}
|
|
|
|
}
|
|
|
|
do_install() {
|
|
|
|
make PREFIX=${DESTDIR}/usr install
|
|
|
|
}
|