picosat: split libpicosat, enable trace
This commit is contained in:
parent
6905399a42
commit
e4a94eba71
|
@ -0,0 +1 @@
|
||||||
|
picosat
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'picosat'
|
# Template file for 'picosat'
|
||||||
pkgname=picosat
|
pkgname=picosat
|
||||||
version=965
|
version=965
|
||||||
revision=1
|
revision=2
|
||||||
build_style=configure
|
build_style=configure
|
||||||
configure_script="./configure.sh"
|
configure_script="./configure.sh"
|
||||||
configure_args="--shared --static"
|
configure_args="--shared --static"
|
||||||
|
@ -13,6 +13,8 @@ changelog="http://fmv.jku.at/picosat/NEWS"
|
||||||
distfiles="http://fmv.jku.at/picosat/picosat-${version}.tar.gz"
|
distfiles="http://fmv.jku.at/picosat/picosat-${version}.tar.gz"
|
||||||
checksum=15169b4f28ba8f628f353f6f75a100845cdef4a2244f101a02b6e5a26e46a754
|
checksum=15169b4f28ba8f628f353f6f75a100845cdef4a2244f101a02b6e5a26e46a754
|
||||||
|
|
||||||
|
CFLAGS=-DTRACE
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
# fix parallel builds
|
# fix parallel builds
|
||||||
vsed -i -e 's/-l\(picosat\)/-l:lib\1.a/g' makefile.in
|
vsed -i -e 's/-l\(picosat\)/-l:lib\1.a/g' makefile.in
|
||||||
|
@ -31,12 +33,18 @@ do_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
||||||
picosat-devel_package() {
|
libpicosat_package() {
|
||||||
short_desc+=" - development files"
|
short_desc+=" - runtime library"
|
||||||
depends="${sourcepkg}>=${version}_${revision}"
|
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include
|
|
||||||
vmove "usr/lib/*.a"
|
|
||||||
vmove "usr/lib/*.so"
|
vmove "usr/lib/*.so"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
picosat-devel_package() {
|
||||||
|
short_desc+=" - development files"
|
||||||
|
depends="libpicosat>=${version}_${revision}"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/include
|
||||||
|
vmove "usr/lib/*.a"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue