From ba3359722cbf8aa7b0ed39e1f81d1d74ec88fecd Mon Sep 17 00:00:00 2001
From: Waldemar Brodkorb <wbx@openadk.org>
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/libXpm/Makefile            | 8 ++++++--
 package/libXpm/ipkg/libxpm.control | 4 ----
 2 files changed, 6 insertions(+), 6 deletions(-)
 delete mode 100644 package/libXpm/ipkg/libxpm.control

(limited to 'package/libXpm')

diff --git a/package/libXpm/Makefile b/package/libXpm/Makefile
index 33ce075c1..d1940d9ce 100644
--- a/package/libXpm/Makefile
+++ b/package/libXpm/Makefile
@@ -9,11 +9,15 @@ PKG_NAME:=		libXpm
 PKG_VERSION:=		3.5.7
 PKG_RELEASE:=		1
 PKG_MD5SUM:=		7bbc8f112f7143ed6961a58ce4e14558
-MASTER_SITES:=		${MASTER_SITE_XORG}
+PKG_DESCR:=		common operation for the XPM pixmap format
+PKG_SECTION:=		x11
+PKG_DESCR:=		common operation for the XPM pixmap format
+PKG_SECTION:=		x11
+PKG_SITES:=		${MASTER_SITE_XORG}
 
 include $(TOPDIR)/mk/package.mk
 
-$(eval $(call PKG_template,LIBXPM,libxpm,$(PKG_VERSION)-$(PKG_RELEASE)))
+$(eval $(call PKG_template,LIBXPM,libxpm,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
 
 CONFIGURE_STYLE=	gnu
 BUILD_STYLE=		auto
diff --git a/package/libXpm/ipkg/libxpm.control b/package/libXpm/ipkg/libxpm.control
deleted file mode 100644
index 276bd3db6..000000000
--- a/package/libXpm/ipkg/libxpm.control
+++ /dev/null
@@ -1,4 +0,0 @@
-Package: libxpm
-Priority: optional
-Section: x11
-Description: X.org library
-- 
cgit v1.2.3