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/atftp/Makefile | 11 ++++++++--- package/atftp/ipkg/atftp.control | 5 ----- package/atftp/ipkg/atftpd.control | 5 ----- 3 files changed, 8 insertions(+), 13 deletions(-) delete mode 100644 package/atftp/ipkg/atftp.control delete mode 100644 package/atftp/ipkg/atftpd.control (limited to 'package/atftp') diff --git a/package/atftp/Makefile b/package/atftp/Makefile index 5c71f7376..ec903cdf7 100644 --- a/package/atftp/Makefile +++ b/package/atftp/Makefile @@ -9,12 +9,17 @@ PKG_NAME:= atftp PKG_VERSION:= 0.7 PKG_RELEASE:= 2 PKG_MD5SUM:= 3b27365772d918050b2251d98a9c7c82 -MASTER_SITES:= ftp://ftp.mamalinux.com/pub/atftp/ +PKG_DESCR:= TFTP client +PKG_SECTION:= net +PKG_DEPENDS:= libreadline libncurses +PKG_URL:= http://freshmeat.net/projects/atftp +PKG_SITES:= ftp://ftp.mamalinux.com/pub/atftp/ +PKG_DESCR_1:= TFTP server include $(TOPDIR)/mk/package.mk -$(eval $(call PKG_template,ATFTP,atftp,$(PKG_VERSION)-$(PKG_RELEASE))) -$(eval $(call PKG_template,ATFTPD,atftpd,$(PKG_VERSION)-$(PKG_RELEASE))) +$(eval $(call PKG_template,ATFTP,atftp,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) +$(eval $(call PKG_template,ATFTPD,atftpd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR_1},${PKG_SECTION})) MAKE_FLAGS+= CFLAGS="${TCFLAGS} -Wall -D_REENTRANT -fno-inline" CONFIGURE_STYLE= gnu diff --git a/package/atftp/ipkg/atftp.control b/package/atftp/ipkg/atftp.control deleted file mode 100644 index 83b1858c4..000000000 --- a/package/atftp/ipkg/atftp.control +++ /dev/null @@ -1,5 +0,0 @@ -Package: atftp -Priority: optional -Section: net -Description: tftp client -Depends: libreadline, libncurses diff --git a/package/atftp/ipkg/atftpd.control b/package/atftp/ipkg/atftpd.control deleted file mode 100644 index 94f49f3f7..000000000 --- a/package/atftp/ipkg/atftpd.control +++ /dev/null @@ -1,5 +0,0 @@ -Package: atftpd -Priority: optional -Section: net -Description: tftp server -Depends: libreadline, libpcre -- cgit v1.2.3