No Description

Makefile 1.4KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. #
  2. # Copyright (C) 2006-2015 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=giflib
  9. PKG_VERSION:=5.1.1
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
  12. PKG_SOURCE_URL:=@SF/giflib
  13. PKG_MD5SUM:=1c39333192712788c6568c78a949f13e
  14. PKG_MAINTAINER:=Ted Hess <thess@kitschensync.net>
  15. PKG_LICENSE:=MIT
  16. PKG_LICENSE_FILES:=COPYING
  17. PKG_FIXUP:=autoreconf
  18. PKG_REMOVE_FILES:=autogen.sh aclocal.m4
  19. include $(INCLUDE_DIR)/package.mk
  20. define Package/giflib
  21. SECTION:=libs
  22. CATEGORY:=Libraries
  23. TITLE:=GIF libraries
  24. URL:=http://sourceforge.net/projects/giflib
  25. endef
  26. define Package/giflib/description
  27. giflib is a library for reading and writing gif images.
  28. It is API and ABI compatible with libungif which was in wide use while
  29. the LZW compression algorithm was patented.
  30. endef
  31. TARGET_CFLAGS += $(FPIC)
  32. CONFIGURE_ARGS += --enable-x11=no
  33. define Build/Compile
  34. $(MAKE) -C $(PKG_BUILD_DIR)
  35. endef
  36. define Build/InstallDev
  37. $(INSTALL_DIR) $(1)/usr/{lib,include}
  38. $(CP) $(PKG_BUILD_DIR)/lib/.libs/lib*so* $(1)/usr/lib
  39. $(CP) $(PKG_BUILD_DIR)/lib/.libs/libgif.a $(1)/usr/lib
  40. $(CP) $(PKG_BUILD_DIR)/lib/libgif.la $(1)/usr/lib
  41. $(CP) $(PKG_BUILD_DIR)/lib/*.h $(1)/usr/include/
  42. endef
  43. define Package/giflib/install
  44. $(INSTALL_DIR) $(1)/usr/lib
  45. $(CP) $(PKG_BUILD_DIR)/lib/.libs/lib*so* $(1)/usr/lib/
  46. endef
  47. $(eval $(call BuildPackage,giflib))