mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-09 00:23:52 +02:00
serf: convert to scons build_style=
This commit is contained in:
parent
d39ff38ad9
commit
806f54ee7f
1 changed files with 5 additions and 7 deletions
|
@ -3,7 +3,9 @@ pkgname=serf
|
||||||
version=1.3.9
|
version=1.3.9
|
||||||
revision=8
|
revision=8
|
||||||
nocross=yes
|
nocross=yes
|
||||||
hostmakedepends="scons libressl-devel apr-util-devel"
|
build_style=scons
|
||||||
|
make_build_args="PREFIX=/usr"
|
||||||
|
hostmakedepends="libressl-devel apr-util-devel"
|
||||||
makedepends="zlib-devel gdbm-devel libressl-devel apr-util-devel"
|
makedepends="zlib-devel gdbm-devel libressl-devel apr-util-devel"
|
||||||
short_desc="High-performance asynchronous HTTP client library"
|
short_desc="High-performance asynchronous HTTP client library"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
|
@ -12,11 +14,7 @@ homepage="http://serf.apache.org"
|
||||||
distfiles="https://archive.apache.org/dist/serf/serf-${version}.tar.bz2"
|
distfiles="https://archive.apache.org/dist/serf/serf-${version}.tar.bz2"
|
||||||
checksum=549c2d21c577a8a9c0450facb5cca809f26591f048e466552240947bdf7a87cc
|
checksum=549c2d21c577a8a9c0450facb5cca809f26591f048e466552240947bdf7a87cc
|
||||||
|
|
||||||
do_build() {
|
|
||||||
scons ${makejobs} CC="$CC" CFLAGS="$CFLAGS" PREFIX=/usr
|
|
||||||
}
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vmkdir usr
|
|
||||||
scons PREFIX=${DESTDIR}/usr install
|
scons PREFIX=${DESTDIR}/usr install
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -26,7 +24,7 @@ serf-devel_package() {
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
vmove usr/lib/pkgconfig
|
vmove usr/lib/pkgconfig
|
||||||
vmove usr/lib/*.so
|
vmove "usr/lib/*.so"
|
||||||
vmove usr/lib/*.a
|
vmove "usr/lib/*.a"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue