300f9c9c9d
Thanks to the pkgparentdir and pkgname functions, we can rewrite the AUTOTARGETS macro in a way that avoids the need for each package to repeat its name and the directory in which it is present. [Peter: pkgdir->pkgparentdir] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 lines
360 B
Makefile
14 lines
360 B
Makefile
#############################################################
|
|
#
|
|
# xz-utils
|
|
#
|
|
#############################################################
|
|
XZ_VERSION = 5.0.3
|
|
XZ_SOURCE = xz-$(XZ_VERSION).tar.bz2
|
|
XZ_SITE = http://tukaani.org/xz/
|
|
XZ_INSTALL_STAGING = YES
|
|
XZ_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99'
|
|
|
|
$(eval $(call AUTOTARGETS))
|
|
$(eval $(call AUTOTARGETS,host))
|