openbsd-ports/devel/libmtp/Makefile
brad 9ca15ca9f7 Update libmtp to 1.1.5.
Started by LEVAI Daniel and I patched it so it will build with older
GCC versions due to the use of __builtin_bswap32.

ok sthen@
2013-01-26 09:46:35 +00:00

37 lines
849 B
Makefile

# $OpenBSD: Makefile,v 1.22 2013/01/26 09:46:35 brad Exp $
COMMENT= Media Transfer Protocol (MTP) implementation
DISTNAME= libmtp-1.1.5
SHARED_LIBS += mtp 5.1 # 9.5
CATEGORIES= devel
HOMEPAGE= http://libmtp.sourceforge.net/
# LGPLv2.1
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c gcrypt gpg-error pthread usb-1.0
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libmtp/}
MODULES= devel/gettext
BUILD_DEPENDS= devel/doxygen
MAKE_ENV+= DOXYGEN_ENCODE_PATH_STRIP=${WRKSRC}
LIB_DEPENDS= devel/libusb1 \
security/libgcrypt
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --enable-doxygen
CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib -pthread" \
CPPFLAGS="-I${LOCALBASE}/include"
FAKE_FLAGS+= pkgdocdir="${PREFIX}/share/doc/libmtp/"
.include <bsd.port.mk>