jpeg.mk 1.4 KB

123456789101112131415161718192021222324252627282930313233343536
  1. #############################################################
  2. #
  3. # jpeg (libraries needed by some apps)
  4. #
  5. #############################################################
  6. # Copyright (C) 2001-2003 by Erik Andersen <andersen@codepoet.org>
  7. # Copyright (C) 2002 by Tim Riker <Tim@Rikers.org>
  8. #
  9. # This program is free software; you can redistribute it and/or modify
  10. # it under the terms of the GNU Library General Public License as
  11. # published by the Free Software Foundation; either version 2 of the
  12. # License, or (at your option) any later version.
  13. #
  14. # This program is distributed in the hope that it will be useful, but
  15. # WITHOUT ANY WARRANTY; without even the implied warranty of
  16. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  17. # Library General Public License for more details.
  18. #
  19. # You should have received a copy of the GNU Library General Public
  20. # License along with this program; if not, write to the Free Software
  21. # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
  22. # USA
  23. JPEG_VERSION:=6b
  24. JPEG_SITE:=ftp://ftp.uu.net/graphics/jpeg/
  25. JPEG_SOURCE=jpegsrc.v$(JPEG_VERSION).tar.gz
  26. JPEG_INSTALL_STAGING = YES
  27. JPEG_INSTALL_TARGET = YES
  28. JPEG_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install
  29. JPEG_LIBTOOL_PATCH = NO
  30. JPEG_CONF_OPT = --without-x --enable-shared --enable-static
  31. $(eval $(call AUTOTARGETS,package,jpeg))
  32. $(JPEG_HOOK_POST_INSTALL):
  33. rm -f $(addprefix $(TARGET_DIR)/usr/bin/,cjpeg djpeg jpegtrans rdjpgcom wrjpgcom)
  34. touch $@