aboutsummaryrefslogtreecommitdiff
path: root/package/libjpeg/libjpeg.mk
blob: cee3408bafc2bc9a540d3201b906c400eecc2a6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#############################################################
#
# libjpeg
#
#############################################################

LIBJPEG_VERSION = 8d
LIBJPEG_SITE = http://www.ijg.org/files/
LIBJPEG_SOURCE = jpegsrc.v$(LIBJPEG_VERSION).tar.gz
LIBJPEG_INSTALL_STAGING = YES

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

LIBJPEG_POST_INSTALL_TARGET_HOOKS += LIBJPEG_REMOVE_USELESS_TOOLS

$(eval $(autotools-package))
$(eval $(host-autotools-package))