summaryrefslogtreecommitdiff
path: root/package/atftp
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-05-30 20:39:07 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-05-30 20:39:07 +0200
commitba3359722cbf8aa7b0ed39e1f81d1d74ec88fecd (patch)
tree10c726d162bc0ded85eb7aeacf8f246bd39ad63a /package/atftp
parentbbd610f15a71b27c955175cb98392b114717fd47 (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/atftp')
-rw-r--r--package/atftp/Makefile11
-rw-r--r--package/atftp/ipkg/atftp.control5
-rw-r--r--package/atftp/ipkg/atftpd.control5
3 files changed, 8 insertions, 13 deletions
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