From ba3359722cbf8aa7b0ed39e1f81d1d74ec88fecd Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 30 May 2009 20:39:07 +0200 Subject: optimize ipkg package management - generate ipkg control file from PKG_* variables - automatically install init scripts from ./files/*.init set #PKG pkgname to set the binary package - rename FWINIT -> INIT - move postinst and conffiles meta data to ./files - update the packages to the latest upstream version - remove some unready or unused package (strongswan,..) more cleanups needed after allmodconfig --- package/ser2net/Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'package/ser2net/Makefile') diff --git a/package/ser2net/Makefile b/package/ser2net/Makefile index b65991077..543f1b2f1 100644 --- a/package/ser2net/Makefile +++ b/package/ser2net/Makefile @@ -9,19 +9,20 @@ PKG_NAME:= ser2net PKG_VERSION:= 2.3 PKG_RELEASE:= 1 PKG_MD5SUM:= 5f83a3e8aec18331cb61069dccdfba47 -MASTER_SITES:= ${MASTER_SITE_SOURCEFORGE:=ser2net/} +PKG_DESCR:= a program for allowing network connections to serial ports +PKG_SECTION:= net +PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=ser2net/} include ${TOPDIR}/mk/package.mk -$(eval $(call PKG_template,SER2NET,ser2net,${PKG_VERSION}-${PKG_RELEASE})) +$(eval $(call PKG_template,SER2NET,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) CONFIGURE_STYLE:= gnu BUILD_STYLE:= auto INSTALL_STYLE:= auto post-install: - ${INSTALL_DIR} ${IDIR_SER2NET}/etc - ${INSTALL_DIR} ${IDIR_SER2NET}/usr/sbin + ${INSTALL_DIR} ${IDIR_SER2NET}/etc ${IDIR_SER2NET}/usr/sbin ${INSTALL_BIN} ${WRKINST}/usr/sbin/ser2net ${IDIR_SER2NET}/usr/sbin ${INSTALL_DATA} ${WRKBUILD}/ser2net.conf ${IDIR_SER2NET}/etc -- cgit v1.2.3