summaryrefslogtreecommitdiff
path: root/package/cgilib/Makefile
blob: 617b0a15bd775fdf74d7f1bcddf9aaf0601f5d7f (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
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include ${ADK_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_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 ${ADK_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 ${ADK_TOPDIR}/mk/pkg-bottom.mk