1 diff -ruN popt-1.7-orig/ipkg/libpopt/CONTROL/control popt-1.7-2/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-2/ipkg/libpopt/CONTROL/control 2005-02-27 16:29:21.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/libpopt-dev/CONTROL/control popt-1.7-2/ipkg/libpopt-dev/CONTROL/control
14 --- popt-1.7-orig/ipkg/libpopt-dev/CONTROL/control 1970-01-01 01:00:00.000000000 +0100
15 +++ popt-1.7-2/ipkg/libpopt-dev/CONTROL/control 2005-02-27 16:29:29.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-2/ipkg/rules
26 --- popt-1.7-orig/ipkg/rules 1970-01-01 01:00:00.000000000 +0100
27 +++ popt-1.7-2/ipkg/rules 2005-02-27 16:31:03.000000000 +0100
31 +ifneq ($(strip ${IPKG_RULES_INC}),)
32 + include $(IPKG_RULES_INC)
37 +CURRENT_DIR := $(shell pwd)
39 +INSTALL_DIR = $(CURRENT_DIR)/ipkg-install
41 +I_LIBPOPT := ipkg/libpopt
42 +I_LIBPOPT_DEV := ipkg/libpopt-dev
50 +.stamp-configured: $(BUILD_DEPS)
53 + $(TARGET_CONFIGURE_OPTS) \
54 + CFLAGS="$(TARGET_CFLAGS)" \
55 + am_cv_func_iconv=no \
57 + --target=$(GNU_TARGET_NAME) \
58 + --host=$(GNU_TARGET_NAME) \
59 + --build=$(GNU_HOST_NAME) \
61 + --exec-prefix=/usr \
63 + --datadir=/usr/share \
64 + --includedir=/usr/include \
65 + --infodir=/usr/share/info \
67 + --libexecdir=/usr/lib \
68 + --localstatedir=/var \
69 + --mandir=/usr/share/man \
70 + --sbindir=/usr/sbin \
76 + touch .stamp-configured
79 +.stamp-built: .stamp-configured
82 + $(TARGET_CONFIGURE_OPTS) \
83 + CFLAGS="$(TARGET_CFLAGS)" \
88 +$(INSTALL_DIR)/usr/include/popt.h: .stamp-built
90 + mkdir -p $(INSTALL_DIR)
93 + DESTDIR="$(INSTALL_DIR)" \
94 + program_transform_name="s,x,x," \
98 +configure: .stamp-configured
104 +install: $(INSTALL_DIR)/usr/include/popt.h
107 +package: $(INSTALL_DIR)/usr/include/popt.h
109 + mkdir -p $(I_LIBPOPT)/usr/lib
110 + cp -fpR $(INSTALL_DIR)/usr/lib/libpopt*.so.* $(I_LIBPOPT)/usr/lib/
111 + $(STRIP) $(I_LIBPOPT)/usr/lib/lib*.so.*
113 + mkdir -p $(I_LIBPOPT_DEV)/usr/include
114 + cp -fpR $(INSTALL_DIR)/usr/include/popt.h $(I_LIBPOPT_DEV)/usr/include/
115 + mkdir -p $(I_LIBPOPT_DEV)/usr/lib
116 + cp -fpR $(INSTALL_DIR)/usr/lib/libpopt*.a $(I_LIBPOPT_DEV)/usr/lib/
117 + cp -fpR $(INSTALL_DIR)/usr/lib/libpopt*.so* $(I_LIBPOPT_DEV)/usr/lib/
119 + chmod 0755 $(I_LIBPOPT)/CONTROL/
120 + chmod 0644 $(I_LIBPOPT)/CONTROL/control
122 + chmod 0755 $(I_LIBPOPT_DEV)/CONTROL/
123 + chmod 0644 $(I_LIBPOPT_DEV)/CONTROL/control
125 + $(IPKG_BUILD) $(I_LIBPOPT) $(IPKG_TARGET_DIR)
126 + $(IPKG_BUILD) $(I_LIBPOPT_DEV) $(IPKG_TARGET_DIR)
133 + rm -rf $(INSTALL_DIR)
134 + rm -rf $(I_LIBPOPT)/usr
135 + rm -rf $(I_LIBPOPT_DEV)/usr
140 + @cat $(I_LIBPOPT)/CONTROL/control
142 + @cat $(I_LIBPOPT_DEV)/CONTROL/control
146 +.PHONY: configure build install package clean control