SVN-Revision: 1438master
parent
d44d9883e2
commit
dd18fd3b85
@ -0,0 +1,9 @@ |
||||
config BR2_PACKAGE_AMWALL |
||||
tristate "amwall - pf to iptables " |
||||
default m if CONFIG_DEVEL |
||||
select BR2_PACKAGE_LIBAMSEL |
||||
help |
||||
See |
||||
|
||||
http://amselinux.de/ |
||||
|
@ -0,0 +1,44 @@ |
||||
# $Id$
|
||||
|
||||
include $(TOPDIR)/rules.mk |
||||
|
||||
PKG_NAME:=amwall
|
||||
PKG_VERSION:=0.1.0
|
||||
PKG_RELEASE:=1
|
||||
PKG_MD5SUM:=a8b6438e7fd9ccadc9f68824ae62349c
|
||||
|
||||
PKG_SOURCE_URL:=ftp://ftp.amselinux.net/source/
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||
PKG_CAT:=bzcat
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
|
||||
|
||||
include $(TOPDIR)/package/rules.mk |
||||
|
||||
$(eval $(call PKG_template,AMWALL,amwall,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) |
||||
|
||||
$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.prepared |
||||
rm -rf $(PKG_INSTALL_DIR)
|
||||
mkdir -p $(PKG_INSTALL_DIR)
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
LDIR=$(PKG_BUILD_DIR) \
|
||||
AMSEL_INCLUDE="$(STAGING_DIR)/usr/include" \
|
||||
OPT_LDFLAGS="-L$(STAGING_DIR)/usr/lib" \
|
||||
PREFIX="/usr" \
|
||||
CONFIG="$(PKG_BUILD_DIR)/etc/amsel" \
|
||||
DESTDIR=$(PKG_INSTALL_DIR) \
|
||||
all install
|
||||
touch $@
|
||||
|
||||
$(IPKG_AMWALL): |
||||
install -d -m0755 $(IDIR_AMWALL)/usr/bin
|
||||
cp -fpR $(PKG_INSTALL_DIR)/usr/bin/* $(IDIR_AMWALL)/usr/bin
|
||||
install -d -m0755 $(IDIR_AMWALL)/usr/sbin
|
||||
cp -fpR $(PKG_INSTALL_DIR)/usr/sbin/* $(IDIR_AMWALL)/usr/sbin
|
||||
install -d -m0755 $(IDIR_AMWALL)/etc/amsel
|
||||
cp -fpR $(PKG_INSTALL_DIR)/etc/amsel* $(IDIR_AMWALL)/etc
|
||||
$(RSTRIP) $(IDIR_AMWALL)
|
||||
$(IPKG_BUILD) $(IDIR_AMWALL) $(PACKAGE_DIR)
|
||||
|
@ -0,0 +1,7 @@ |
||||
Package: amwall |
||||
Priority: optional |
||||
Section: net |
||||
Maintainer: Eymen Alyaz <dev@eymen.net> |
||||
Source: http://amselinux.de |
||||
Depends: libamsel |
||||
Description: pf to iptables and more |
@ -0,0 +1,8 @@ |
||||
config BR2_PACKAGE_LIBAMSEL |
||||
tristate "libamsel - amwall library" |
||||
default m if CONFIG_DEVEL |
||||
help |
||||
A library for amwall configuration files |
||||
|
||||
http://amselinux.de/ |
||||
|
@ -0,0 +1,57 @@ |
||||
# $Id$
|
||||
|
||||
include $(TOPDIR)/rules.mk |
||||
|
||||
PKG_NAME:=libamsel
|
||||
PKG_VERSION:=20040621-cvs
|
||||
PKG_RELEASE:=1
|
||||
PKG_MD5SUM:=2077e620047404881a65d39c53c9917e
|
||||
|
||||
PKG_SOURCE_URL:=ftp://ftp.amselinux.net/source/
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||
PKG_CAT:=bzcat
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
|
||||
|
||||
include $(TOPDIR)/package/rules.mk |
||||
|
||||
$(eval $(call PKG_template,LIBAMSEL,libamsel,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) |
||||
|
||||
$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.prepared |
||||
rm -rf $(PKG_INSTALL_DIR)
|
||||
mkdir -p $(PKG_INSTALL_DIR)
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
LDIR=$(PKG_BUILD_DIR) \
|
||||
PREFIX="$(PKG_INSTALL_DIR)/usr" \
|
||||
all install
|
||||
touch $@
|
||||
|
||||
$(IPKG_LIBAMSEL): |
||||
install -d -m0755 $(IDIR_LIBAMSEL)/usr/lib
|
||||
cp -fpR $(PKG_INSTALL_DIR)/usr/lib/* $(IDIR_LIBAMSEL)/usr/lib
|
||||
$(RSTRIP) $(IDIR_LIBAMSEL)
|
||||
$(IPKG_BUILD) $(IDIR_LIBAMSEL) $(PACKAGE_DIR)
|
||||
|
||||
|
||||
$(STAGING_DIR)/usr/lib/libamsel.so: $(PKG_BUILD_DIR)/.built |
||||
mkdir -p $(STAGING_DIR)/usr/include
|
||||
cp -fpR $(PKG_INSTALL_DIR)/usr/include/amsel/compat.h $(STAGING_DIR)/usr/include/
|
||||
mkdir -p $(STAGING_DIR)/usr/include/compat
|
||||
cp -fpR $(PKG_INSTALL_DIR)/usr/include/amsel/compat/queue.h $(STAGING_DIR)/usr/include/compat
|
||||
mkdir -p $(STAGING_DIR)/usr/lib/
|
||||
cp -fpR $(PKG_INSTALL_DIR)/usr/lib/libamsel.so $(STAGING_DIR)/usr/lib/
|
||||
touch $(STAGING_DIR)/usr/lib/libamsel.so
|
||||
|
||||
install-dev: $(STAGING_DIR)/usr/lib/libamsel.so |
||||
|
||||
uninstall-dev: |
||||
rm -rf \
|
||||
$(STAGING_DIR)/usr/include/compat.h \
|
||||
$(STAGING_DIR)/usr/include/compat \
|
||||
$(STAGING_DIR)/usr/lib/libamsel.so \
|
||||
|
||||
compile: install-dev |
||||
clean: uninstall-dev |
||||
|
@ -0,0 +1,6 @@ |
||||
Package: libamsel |
||||
Priority: optional |
||||
Section: libs |
||||
Maintainer: Eymen Alyaz <dev@eymen.net> |
||||
Source: http://amselinux.de |
||||
Description: library for amwall |
Loading…
Reference in new issue