diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2009-05-30 20:39:07 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-05-30 20:39:07 +0200 |
commit | ba3359722cbf8aa7b0ed39e1f81d1d74ec88fecd (patch) | |
tree | 10c726d162bc0ded85eb7aeacf8f246bd39ad63a /package/ser2net | |
parent | bbd610f15a71b27c955175cb98392b114717fd47 (diff) |
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
Diffstat (limited to 'package/ser2net')
-rw-r--r-- | package/ser2net/Makefile | 9 | ||||
-rw-r--r-- | package/ser2net/files/ser2net.conffiles (renamed from package/ser2net/ipkg/ser2net.conffiles) | 0 | ||||
-rw-r--r-- | package/ser2net/ipkg/ser2net.control | 5 |
3 files changed, 5 insertions, 9 deletions
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/ipkg/ser2net.conffiles b/package/ser2net/files/ser2net.conffiles index 16bb67f20..16bb67f20 100644 --- a/package/ser2net/ipkg/ser2net.conffiles +++ b/package/ser2net/files/ser2net.conffiles 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 |