aboutsummaryrefslogtreecommitdiffstats
path: root/package/frickin/Makefile
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2005-05-24 01:55:36 +0000
committerNicolas Thill <nico@openwrt.org>2005-05-24 01:55:36 +0000
commit3d28e11d8da371c67f3e209b59c7f7e4f08faea2 (patch)
tree53ba368e72d685fbd99407e09b514076ce747caf /package/frickin/Makefile
parent436db53649ed419d5579357bac5d89e60ec0be0d (diff)
downloadupstream-3d28e11d8da371c67f3e209b59c7f7e4f08faea2.tar.gz
upstream-3d28e11d8da371c67f3e209b59c7f7e4f08faea2.tar.bz2
upstream-3d28e11d8da371c67f3e209b59c7f7e4f08faea2.zip
Add frickin package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1042 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/frickin/Makefile')
-rw-r--r--package/frickin/Makefile39
1 files changed, 39 insertions, 0 deletions
diff --git a/package/frickin/Makefile b/package/frickin/Makefile
new file mode 100644
index 0000000000..15072ac9a9
--- /dev/null
+++ b/package/frickin/Makefile
@@ -0,0 +1,39 @@
+# $Id$
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=frickin
+PKG_VERSION:=1.2
+PKG_RELEASE:=1
+PKG_MD5SUM:= dd703f9202b3c0e55237d04ea429c684
+
+PKG_SOURCE_URL:=@SF/frickin
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_CAT:=zcat
+
+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,FRICKIN,frickin,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
+
+$(PKG_BUILD_DIR)/.configured:
+ touch $@
+
+$(PKG_BUILD_DIR)/.built:
+ $(MAKE) -C $(PKG_BUILD_DIR) \
+ $(TARGET_CONFIGURE_OPTS) \
+ CFLAGS="$(TARGET_CFLAGS)" \
+ all
+ touch $@
+
+$(IPKG_FRICKIN):
+ install -d -m0755 $(IDIR_FRICKIN)/etc/default
+ install -m0644 ./files/frickin.default $(IDIR_FRICKIN)/etc/default/frickin
+ install -d -m0755 $(IDIR_FRICKIN)/etc/init.d
+ install -m0755 ./files/frickin.init $(IDIR_FRICKIN)/etc/init.d/frickin
+ install -d -m0755 $(IDIR_FRICKIN)/usr/sbin
+ install -m0755 $(PKG_BUILD_DIR)/frickin $(IDIR_FRICKIN)/usr/sbin/
+ $(RSTRIP) $(IDIR_FRICKIN)
+ $(IPKG_BUILD) $(IDIR_FRICKIN) $(PACKAGE_DIR)