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