1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(TOPDIR
)/rules.mk
9 PKG_MD5SUM
:= 00c8359bf71062d0946bacea521f80b4
10 PKG_DESCR
:= Python module for fetching of files
14 PKG_URL
:= http
://urlgrabber.baseurl.org
/
15 PKG_SITES
:= http
://urlgrabber.baseurl.org
/download
/
17 include $(TOPDIR
)/mk
/package.mk
19 $(eval
$(call PKG_template
,URLGRABBER
,urlgrabber
,$(PKG_VERSION
)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
23 INSTALL_STYLE
:= manual
25 include $(TOPDIR
)/mk
/python.mk
28 (cd
$(WRKBUILD
); env PYTHONPATH
=$(PYTHON_LIBDIR
) $(PYTHON
) .
/setup.py build
)
29 (cd
$(WRKBUILD
); env PYTHONPATH
=$(PYTHON_LIBDIR
) $(PYTHON
) .
/setup.py
install --prefix="$(WRKINST)/usr")
32 $(INSTALL_DIR
) $(IDIR_URLGRABBER
)/usr
/lib
/python
$(PYTHON_VERSION
)/site-packages
33 $(CP
) $(WRKINST
)/usr
/lib
/python
$(PYTHON_VERSION
)/site-packages
/* \
34 $(IDIR_URLGRABBER
)/usr
/lib
/python
$(PYTHON_VERSION
)/site-packages
36 include ${TOPDIR}/mk
/pkg-bottom.mk