1 # -*- mode: makefile -*-
5 TARFILE_LOCAL = ${VIRGINS}/libftdi-${LIBFTDI_VERSION}.tar.gz
6 TARFILE_URL = http://www.intra2net.com/de/produkte/opensource/ftdi/TGZ/libftdi-${LIBFTDI_VERSION}.tar.gz
8 LIBFTDI_SRC_DIR = ${HERE}/libftdi-${LIBFTDI_VERSION}
9 LIBFTDI_BUILD_DIR= ${HERE}/libftdi-build
13 wget -O ${TARFILE_LOCAL} ${TARFILE_URL}
16 rm -rf ${LIBFTDI_SRC_DIR}
19 tar xf ${TARFILE_LOCAL}
21 PATH := ${EXEC_PREFIX}/bin:${PATH}
25 rm -rf ${LIBFTDI_BUILD_DIR}
28 rm -rf ${LIBFTDI_BUILD_DIR}
29 mkdir -p ${LIBFTDI_BUILD_DIR}
30 cd ${LIBFTDI_BUILD_DIR} && ${LIBFTDI_SRC_DIR}/configure \
32 --exec-prefix=${EXEC_PREFIX}
35 cd ${LIBFTDI_BUILD_DIR} && ${MAKE}
38 cd ${LIBFTDI_BUILD_DIR} && ${MAKE} install
40 all: unpack configure build install
46 @echo "Please try one of these targets: bootstrap, clean, configure, build, install"
47 @echo " Or read the makefile and learn about the permutation test targets"
49 @echo "You also might find the download and unpack targets helpful."