42 lines
1 KiB
Makefile
42 lines
1 KiB
Makefile
# $NetBSD: Makefile,v 1.9 2008/03/11 13:20:29 tron Exp $
|
|
#
|
|
|
|
SNAPSHOT_DATE= 20071218
|
|
|
|
DISTNAME= x264-snapshot-${SNAPSHOT_DATE}-2245
|
|
PKGNAME= x264-devel-${SNAPSHOT_DATE}
|
|
PKGREVISION= 1
|
|
CATEGORIES= multimedia
|
|
MASTER_SITES= ftp://ftp.videolan.org/pub/videolan/x264/snapshots/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= joerg@NetBSD.org
|
|
HOMEPAGE= http://www.videolan.org/developers/x264.html
|
|
COMMENT= GPL licensed H.264 encoder
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
|
|
BUILD_DEPENDS+= yasm>=0.4.0:../../devel/yasm
|
|
.endif
|
|
|
|
# Avoid linker warning under Mac OS X PPC.
|
|
.if empty(MACHINE_PLATFORM:MDarwin-*-powerpc)
|
|
DARWIN_PPC_LDFLAGS=
|
|
.else
|
|
DARWIN_PPC_LDFLAGS= -Wl,-read_only_relocs -Wl,suppress
|
|
.endif
|
|
MAKE_ENV+= DARWIN_PPC_LDFLAGS=${DARWIN_PPC_LDFLAGS:Q}
|
|
|
|
USE_TOOLS+= gmake
|
|
USE_LIBTOOL= yes
|
|
|
|
HAS_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --prefix=${PREFIX:Q}
|
|
|
|
BUILD_TARGET= default
|
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|