# $FreeWRT$ #- # This file is part of the FreeWRT project. FreeWRT is copyrighted # material, please see the LICENCE file in the top-level directory # or at http://www.freewrt.org/licence for details. include ${TOPDIR}/rules.mk PKG_NAME:= cgilib PKG_VERSION:= 0.5 PKG_RELEASE:= 1 PKG_MD5SUM:= 5187ba11b2ec165b6c5b6629087733b0 MASTER_SITES:= http://www.infodrom.org/projects/cgilib/download/ include ${TOPDIR}/mk/package.mk $(eval $(call PKG_template,CGILIB,cgilib,${PKG_VERSION}-${PKG_RELEASE},${ARCH})) BUILD_STYLE= auto XAKE_FLAGS+= OFLAGS="${TARGET_CFLAGS}" do-install: ${INSTALL_DIR} ${IDIR_CGILIB}/usr/lib ${INSTALL_DIR} ${WRKINST}/usr/include ${INSTALL_DIR} ${WRKINST}/usr/lib ${CP} ${WRKBUILD}/libcgi.so.* ${IDIR_CGILIB}/usr/lib/ ${CP} ${WRKBUILD}/cgi.h ${WRKINST}/usr/include/ ${CP} ${WRKBUILD}/libcgi.so ${WRKINST}/usr/lib/ include ${TOPDIR}/mk/pkg-bottom.mk