summaryrefslogtreecommitdiff
path: root/package/cgilib/Makefile
blob: 194c8d3f3f39e22c33260a6778fa136948f2ebc1 (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
# 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:=		cgilib
PKG_VERSION:=		0.7
PKG_RELEASE:=		3
PKG_MD5SUM:=		2c7053f58dfb06f7a80a112797ed7e86
PKG_DESCR:=		simple cgi library
PKG_SECTION:=		libs/net
PKG_BUILDDEP:=		autotool
PKG_URL:=		http://www.infodrom.org/projects/cgilib/
PKG_SITES:=		http://www.infodrom.org/projects/cgilib/download/
PKG_OPTS:=		dev

DISTFILES:=		${PKG_NAME}-${PKG_VERSION}.tar.gz

include ${TOPDIR}/mk/package.mk

$(eval $(call PKG_template,CGILIB,cgilib,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))

AUTOTOOL_STYLE:=	autoreconf

post-patch:
	touch $(WRKBUILD)/NEWS

cgilib-install:
	${INSTALL_DIR} ${IDIR_CGILIB}/usr/lib
	${CP} ${WRKINST}/usr/lib/libcgi.so* ${IDIR_CGILIB}/usr/lib/

include ${TOPDIR}/mk/pkg-bottom.mk