update heyu
[openwrt.git] / package / vgp / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=vgp
6 PKG_VERSION:=0.2.1
7 PKG_RELEASE:=1
8 PKG_MD5SUM:=b8c25b5dfcb944f78bbc584be9c230c7
9 PKG_SOURCE_URL:=http://vgpd.freaknet.org/files/
10 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
11 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
12 PKG_CAT:=zcat
13
14 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
15
16 include $(TOPDIR)/package/rules.mk
17
18 $(eval $(call PKG_template,VGP,vgp,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
19
20 $(PKG_BUILD_DIR)/.configured:
21 (cd $(PKG_BUILD_DIR); rm -rf config.cache; \
22 $(TARGET_CONFIGURE_OPTS) \
23 CFLAGS="$(TARGET_CFLAGS)" \
24 ./configure \
25 --target=$(GNU_TARGET_NAME) \
26 --host=$(GNU_TARGET_NAME) \
27 --build=$(GNU_HOST_NAME) \
28 --prefix=/usr \
29 --exec-prefix=/usr \
30 --bindir=/usr/bin \
31 --sbindir=/usr/sbin \
32 --libexecdir=/usr/lib \
33 --sysconfdir=/etc \
34 --datadir=/usr/share \
35 --localstatedir=/var \
36 --mandir=/usr/man \
37 --infodir=/usr/info \
38 --program-prefix="" \
39 );
40 touch $@
41
42 $(PKG_BUILD_DIR)/.built:
43 $(MAKE) DESTDIR=$(PKG_INSTALL_DIR) -C $(PKG_BUILD_DIR) install
44 touch $@
45
46 $(IPKG_VGP):
47 mkdir -p $(IDIR_VGP)
48 $(CP) $(PKG_INSTALL_DIR)/* $(IDIR_VGP)/
49 $(RSTRIP) $(IDIR_VGP)
50 $(IPKG_BUILD) $(IDIR_VGP) $(PACKAGE_DIR)
This page took 0.041193 seconds and 5 git commands to generate.