Makefile 1.1 KB

1234567891011121314151617181920212223242526272829303132
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include $(TOPDIR)/rules.mk
  4. PKG_NAME:= giflib
  5. PKG_VERSION:= 4.1.6
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= 4ff2ecec336b9724c5190f06e8a40f9e
  8. PKG_DESCR:= GIF graphics library
  9. PKG_SECTION:= libs
  10. PKG_URL:= http://sourceforge.net/projects/giflib/
  11. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=giflib/giflib%204.x/$(PKG_NAME)-$(PKG_VERSION)/}
  12. PKG_SUBPKGS:= GIFLIB GIFLIB_DEV
  13. PKGSC_GIFLIB_DEV:= devel
  14. include $(TOPDIR)/mk/package.mk
  15. $(eval $(call PKG_template,GIFLIB,giflib,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. $(eval $(call PKG_template,GIFLIB_DEV,giflib-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKGSC_GIFLIB_DEV}))
  17. giflib-install:
  18. $(INSTALL_DIR) $(IDIR_GIFLIB)/usr/lib
  19. $(CP) $(WRKINST)/usr/lib/libgif.so* \
  20. $(IDIR_GIFLIB)/usr/lib
  21. giflib-dev-install:
  22. ${INSTALL_DIR} ${IDIR_GIFLIB_DEV}/usr/include
  23. ${CP} ${WRKINST}/usr/include/*.h ${IDIR_GIFLIB_DEV}/usr/include
  24. include ${TOPDIR}/mk/pkg-bottom.mk