aboutsummaryrefslogtreecommitdiffstats
path: root/package/jpeg/jpeg.mk
blob: 8919a3a09d761899932277e9bc5dd4d15d68cce1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#############################################################
#
# jpeg (libraries needed by some apps)
#
#############################################################
JPEG_VERSION = 8b
JPEG_SITE = http://www.ijg.org/files/
JPEG_SOURCE = jpegsrc.v$(JPEG_VERSION).tar.gz
JPEG_INSTALL_STAGING = YES
JPEG_INSTALL_TARGET = YES
JPEG_CONF_OPT = --program-prefix=

define JPEG_REMOVE_USELESS_TOOLS
	rm -f $(addprefix $(TARGET_DIR)/usr/bin/,cjpeg djpeg jpegtrans rdjpgcom wrjpgcom)
endef

JPEG_POST_INSTALL_TARGET_HOOKS += JPEG_REMOVE_USELESS_TOOLS

$(eval $(call AUTOTARGETS,package,jpeg))