1 diff -ruN popt-1.7-orig/ipkg/libpopt/CONTROL/control popt-1.7-3/ipkg/libpopt/CONTROL/control
2 --- popt-1.7-orig/ipkg/libpopt/CONTROL/control 1970-01-01 01:00:00.000000000 +0100
3 +++ popt-1.7-3/ipkg/libpopt/CONTROL/control 2005-03-08 03:24:11.000000000 +0100
10 +Maintainer: Nico <nthill@free.fr>
11 +Source: http://nthill.free.fr/openwrt/sources/popt/
12 +Description: a command line option parsing library
13 diff -ruN popt-1.7-orig/ipkg/popt-dev/CONTROL/control popt-1.7-3/ipkg/popt-dev/CONTROL/control
14 --- popt-1.7-orig/ipkg/popt-dev/CONTROL/control 1970-01-01 01:00:00.000000000 +0100
15 +++ popt-1.7-3/ipkg/popt-dev/CONTROL/control 2005-03-08 03:26:21.000000000 +0100
22 +Maintainer: Nico <nthill@free.fr>
23 +Source: http://nthill.free.fr/openwrt/sources/popt/
24 +Description: a command line option parsing library (development)
25 diff -ruN popt-1.7-orig/ipkg/rules popt-1.7-3/ipkg/rules
26 --- popt-1.7-orig/ipkg/rules 1970-01-01 01:00:00.000000000 +0100
27 +++ popt-1.7-3/ipkg/rules 2005-03-08 03:50:49.000000000 +0100
31 +ifneq ($(strip ${IPKG_RULES_INC}),)
32 + include $(IPKG_RULES_INC)
37 +PKG_VERSION := $(shell cat ./ipkg/version)
38 +CURRENT_DIR := $(shell pwd)
39 +INSTALL_DIR = $(CURRENT_DIR)/ipkg-install
41 +I_LIBPOPT := ipkg/libpopt
42 +I_POPT_DEV := ipkg/popt-dev
55 +.stamp-configured: $(BUILD_DEPS)
58 + $(TARGET_CONFIGURE_OPTS) \
59 + CFLAGS="$(TARGET_CFLAGS)" \
60 + am_cv_func_iconv=no \
62 + --target=$(GNU_TARGET_NAME) \
63 + --host=$(GNU_TARGET_NAME) \
64 + --build=$(GNU_HOST_NAME) \
66 + --exec-prefix=/usr \
68 + --datadir=/usr/share \
69 + --includedir=/usr/include \
70 + --infodir=/usr/share/info \
72 + --libexecdir=/usr/lib \
73 + --localstatedir=/var \
74 + --mandir=/usr/share/man \
75 + --sbindir=/usr/sbin \
80 + touch .stamp-configured
83 +.stamp-built: .stamp-configured
86 + $(TARGET_CONFIGURE_OPTS) \
87 + CFLAGS="$(TARGET_CFLAGS)" \
92 +$(INSTALL_DIR)/usr/include/popt.h: .stamp-built
94 + mkdir -p $(INSTALL_DIR)
97 + DESTDIR="$(INSTALL_DIR)" \
98 + transform="s,x,x," \
102 +configure: .stamp-configured
108 +install: $(INSTALL_DIR)/usr/include/popt.h
111 +package: $(INSTALL_DIR)/usr/include/popt.h
113 + mkdir -p $(I_LIBPOPT)/usr/lib
114 + cp -fpR $(INSTALL_DIR)/usr/lib/libpopt*.so.* $(I_LIBPOPT)/usr/lib/
115 + $(STRIP) $(I_LIBPOPT)/usr/lib/lib*.so.*
117 + mkdir -p $(I_POPT_DEV)/usr/include
118 + cp -fpR $(INSTALL_DIR)/usr/include/popt.h $(I_POPT_DEV)/usr/include/
119 + mkdir -p $(I_POPT_DEV)/usr/lib
120 + cp -fpR $(INSTALL_DIR)/usr/lib/libpopt*.a $(I_POPT_DEV)/usr/lib/
121 + cp -fpR $(INSTALL_DIR)/usr/lib/libpopt*.so* $(I_POPT_DEV)/usr/lib/
123 + chmod 0755 ipkg/*/CONTROL/
124 + chmod 0644 ipkg/*/CONTROL/control
126 + perl -pi -e "s/^Arch.*:.*/Architecture: $(ARCH)/g" ipkg/*/CONTROL/control
127 +ifneq ($(strip $(PKG_VERSION)),)
128 + perl -pi -e "s/^Vers.*:.*/Version: $(PKG_VERSION)/g" ipkg/*/CONTROL/control
131 + $(IPKG_BUILD) $(I_LIBPOPT) $(IPKG_TARGET_DIR)
132 + $(IPKG_BUILD) $(I_POPT_DEV) $(IPKG_TARGET_DIR)
139 + rm -rf $(INSTALL_DIR)/usr/include/popt*
140 + rm -rf $(INSTALL_DIR)/usr/include/libpopt*
141 + rm -rf $(INSTALL_DIR)/usr/share/man/man*/popt*
142 + rm -rf $(I_LIBPOPT)/usr
143 + rm -rf $(I_POPT_DEV)/usr
148 + @cat $(I_LIBPOPT)/CONTROL/control
150 + @cat $(I_POPT_DEV)/CONTROL/control
154 +.PHONY: configure build install package clean control
155 diff -ruN popt-1.7-orig/ipkg/version popt-1.7-3/ipkg/version
156 --- popt-1.7-orig/ipkg/version 1970-01-01 01:00:00.000000000 +0100
157 +++ popt-1.7-3/ipkg/version 2005-03-08 03:23:49.000000000 +0100