remove references to /usr in libpng*-config, standardize.
[openwrt.git] / package / frickin / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=frickin
6 PKG_VERSION:=1.3
7 PKG_RELEASE:=1
8 PKG_MD5SUM:= 5b2e98da2310c71c703d4617b88a173f
9
10 PKG_SOURCE_URL:=@SF/frickin
11 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
12 PKG_CAT:=zcat
13
14 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
15 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
16
17 include $(TOPDIR)/package/rules.mk
18
19 $(eval $(call PKG_template,FRICKIN,frickin,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
20
21 $(PKG_BUILD_DIR)/.configured:
22 touch $@
23
24 $(PKG_BUILD_DIR)/.built:
25 $(MAKE) -C $(PKG_BUILD_DIR) \
26 $(TARGET_CONFIGURE_OPTS) \
27 CFLAGS="$(TARGET_CFLAGS)" \
28 all
29 touch $@
30
31 $(IPKG_FRICKIN):
32 install -d -m0755 $(IDIR_FRICKIN)/etc/default
33 install -m0644 ./files/frickin.default $(IDIR_FRICKIN)/etc/default/frickin
34 install -d -m0755 $(IDIR_FRICKIN)/etc/init.d
35 install -m0755 ./files/frickin.init $(IDIR_FRICKIN)/etc/init.d/frickin
36 install -d -m0755 $(IDIR_FRICKIN)/usr/sbin
37 install -m0755 $(PKG_BUILD_DIR)/frickin $(IDIR_FRICKIN)/usr/sbin/
38 $(RSTRIP) $(IDIR_FRICKIN)
39 $(IPKG_BUILD) $(IDIR_FRICKIN) $(PACKAGE_DIR)
This page took 0.0465 seconds and 5 git commands to generate.