blob: 6ef4685e51c34467086ca13c9a00bbf0ee59d424 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
include ${TOPDIR}/rules.mk
PKG_NAME:= neon
PKG_VERSION:= 0.29.5
PKG_RELEASE:= 1
PKG_MD5SUM:= ff369e69ef0f0143beb5626164e87ae2
PKG_DESCR:= HTTP and WebDAV library
PKG_SECTION:= libs
PKG_DEPENDS:= libpthread libxml2 libopenssl zlib
PKG_BUILDDEP:= libpthread libxml2 openssl zlib
PKG_URL:= http://webdav.org/neon/
PKG_SITES:= http://webdav.org/neon/
PKG_SUBPKGS:= NEON NEON_DEV
PKGSC_NEON_DEV:= devel
PKGSD_NEON_DEV:= HTTP and WebDAV headers
include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,NEON,neon,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,NEON_DEV,neon-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_NEON_DEV},${PKGSC_NEON_DEV}))
CONFIGURE_ARGS+= --with-ssl=openssl \
--without-gssapi \
--with-libxml2
neon-install:
${INSTALL_DIR} ${IDIR_NEON}/usr/lib
$(CP) ${WRKINST}/usr/lib/libneon.so* ${IDIR_NEON}/usr/lib
neon-dev-install:
${INSTALL_DIR} ${IDIR_NEON_DEV}/usr/include/neon
${INSTALL_DATA} ${WRKINST}/usr/include/neon/*.h \
${IDIR_NEON_DEV}/usr/include/neon
${INSTALL_DIR} ${IDIR_NEON_DEV}/usr/lib/pkgconfig
${INSTALL_DATA} ${WRKINST}/usr/lib/pkgconfig/neon.pc \
${IDIR_NEON_DEV}/usr/lib/pkgconfig
${INSTALL_DIR} ${IDIR_NEON_DEV}/usr/bin
${INSTALL_BIN} ${WRKINST}/usr/bin/neon-config \
${IDIR_NEON_DEV}/usr/bin
include ${TOPDIR}/mk/pkg-bottom.mk
|