3 include $(TOPDIR
)/rules.mk
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
)
14 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
16 include $(TOPDIR
)/package
/rules.mk
18 $(eval
$(call PKG_template
,VGP
,vgp
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
20 $(PKG_BUILD_DIR
)/.configured
:
21 (cd
$(PKG_BUILD_DIR
); rm -rf config.cache
; \
22 $(TARGET_CONFIGURE_OPTS
) \
23 CFLAGS
="$(TARGET_CFLAGS)" \
25 --target
=$(GNU_TARGET_NAME
) \
26 --host
=$(GNU_TARGET_NAME
) \
27 --build
=$(GNU_HOST_NAME
) \
32 --libexecdir
=/usr
/lib \
34 --datadir=/usr
/share \
35 --localstatedir
=/var \
42 $(PKG_BUILD_DIR
)/.built
:
43 $(MAKE
) DESTDIR
=$(PKG_INSTALL_DIR
) -C
$(PKG_BUILD_DIR
) install
48 $(CP
) $(PKG_INSTALL_DIR
)/* $(IDIR_VGP
)/
50 $(IPKG_BUILD
) $(IDIR_VGP
) $(PACKAGE_DIR
)