3 include $(TOPDIR
)/rules.mk
8 PKG_MD5SUM
:=a8b6438e7fd9ccadc9f68824ae62349c
10 PKG_SOURCE_URL
:=ftp
://ftp.amselinux.net
/source
/
11 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
14 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
15 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
17 include $(TOPDIR
)/package
/rules.mk
19 $(eval
$(call PKG_template
,AMWALL
,amwall
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
21 $(PKG_BUILD_DIR
)/.built
: $(PKG_BUILD_DIR
)/.prepared
22 rm -rf
$(PKG_INSTALL_DIR
)
23 mkdir
-p
$(PKG_INSTALL_DIR
)
24 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
25 $(TARGET_CONFIGURE_OPTS
) \
26 LDIR
=$(PKG_BUILD_DIR
) \
27 AMSEL_INCLUDE
="$(STAGING_DIR)/usr/include" \
28 OPT_LDFLAGS
="-L$(STAGING_DIR)/usr/lib" \
30 CONFIG
="$(PKG_BUILD_DIR)/etc/amsel" \
31 DESTDIR
=$(PKG_INSTALL_DIR
) \
36 install -d
-m0755
$(IDIR_AMWALL
)/usr
/bin
37 cp
-fpR
$(PKG_INSTALL_DIR
)/usr
/bin
/* $(IDIR_AMWALL
)/usr
/bin
38 install -d
-m0755
$(IDIR_AMWALL
)/usr
/sbin
39 cp
-fpR
$(PKG_INSTALL_DIR
)/usr
/sbin
/* $(IDIR_AMWALL
)/usr
/sbin
40 install -d
-m0755
$(IDIR_AMWALL
)/etc
/amsel
41 cp
-fpR
$(PKG_INSTALL_DIR
)/etc
/amsel
* $(IDIR_AMWALL
)/etc
42 $(RSTRIP
) $(IDIR_AMWALL
)
43 $(IPKG_BUILD
) $(IDIR_AMWALL
) $(PACKAGE_DIR
)