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 +++++---- package/ser2net/files/ser2net.conffiles | 1 + package/ser2net/ipkg/ser2net.conffiles | 1 - package/ser2net/ipkg/ser2net.control | 5 ----- 4 files changed, 6 insertions(+), 10 deletions(-) create mode 100644 package/ser2net/files/ser2net.conffiles delete mode 100644 package/ser2net/ipkg/ser2net.conffiles delete mode 100644 package/ser2net/ipkg/ser2net.control (limited to 'package/ser2net') 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 diff --git a/package/ser2net/files/ser2net.conffiles b/package/ser2net/files/ser2net.conffiles new file mode 100644 index 000000000..16bb67f20 --- /dev/null +++ b/package/ser2net/files/ser2net.conffiles @@ -0,0 +1 @@ +/etc/ser2net.conf diff --git a/package/ser2net/ipkg/ser2net.conffiles b/package/ser2net/ipkg/ser2net.conffiles deleted file mode 100644 index 16bb67f20..000000000 --- a/package/ser2net/ipkg/ser2net.conffiles +++ /dev/null @@ -1 +0,0 @@ -/etc/ser2net.conf diff --git a/package/ser2net/ipkg/ser2net.control b/package/ser2net/ipkg/ser2net.control deleted file mode 100644 index 0b1b22ad4..000000000 --- a/package/ser2net/ipkg/ser2net.control +++ /dev/null @@ -1,5 +0,0 @@ -Package: ser2net -Priority: optional -Section: net -Source: http://jaist.dl.sourceforge.net/sourceforge/ser2net/ -Description: a program for allowing network connections to serial ports -- cgit v1.2.3