mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
163b30274f
while here get rid of the SHARED_LIBS comment, upstream soversion is just the project version, so it's useless. bump minor due to new symbols being exposed.
39 lines
797 B
Makefile
39 lines
797 B
Makefile
COMMENT = simple, lightweight XMPP C library
|
|
|
|
V = 0.14.0
|
|
DISTNAME = libstrophe-${V}
|
|
|
|
SHARED_LIBS = strophe 4.1
|
|
|
|
CATEGORIES = net devel
|
|
|
|
HOMEPAGE = https://strophe.im/libstrophe/
|
|
|
|
MAINTAINER = Omar Polo <op@openbsd.org>
|
|
|
|
# Dual licensed: MIT and GPLv3
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
WANTLIB += crypto expat ssl z
|
|
|
|
SITES = https://github.com/strophe/libstrophe/releases/download/${V}/
|
|
|
|
BUILD_DEPENDS = devel/libtool
|
|
|
|
# Only needed for tests, but cannot be a TEST_DEPENDS.
|
|
# Check must be present at build time for tests to work.
|
|
BUILD_DEPENDS += devel/check
|
|
|
|
USE_GMAKE = Yes
|
|
|
|
CONFIGURE_STYLE = gnu
|
|
|
|
MAKE_FLAGS = CC="${CC}" CFLAGS="${CFLAGS}"
|
|
|
|
CONFIGURE_ENV += CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
DEBUG_PACKAGES = ${BUILD_PACKAGES}
|
|
|
|
.include <bsd.port.mk>
|