29 lines
776 B
Makefile
29 lines
776 B
Makefile
# $NetBSD: Makefile,v 1.10 2012/10/08 09:21:09 asau Exp $
|
|
#
|
|
|
|
DISTNAME= mpeg_lib-1.3.1
|
|
PKGNAME= mpeg-1.3.1
|
|
PKGREVISION= 1
|
|
CATEGORIES= multimedia
|
|
MASTER_SITES= ftp://ftp.fu-berlin.de/unix/X11/graphics/gimp/libs/ \
|
|
ftp://ftp.gimp.org/pub/gimp/libs/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.gerg.ca/software/mpeglib/
|
|
COMMENT= Library for decoding MPEG movies
|
|
|
|
USE_LIBTOOL= YES
|
|
GNU_CONFIGURE= YES
|
|
|
|
BUILD_TARGET= libmpeg_lib.la
|
|
|
|
CONFIGURE_ENV+= OPTIMIZE=${CFLAGS:M*:Q} EXTRA_LDFLAGS=${LDFLAGS:M*:Q} \
|
|
EXTRA_CPPFLAGS=${CPPFLAGS:M*:Q}
|
|
|
|
INSTALLATION_DIRS+= include lib
|
|
|
|
do-install:
|
|
${INSTALL_DATA} ${WRKSRC}/mpeg.h ${DESTDIR}${PREFIX}/include
|
|
libtool --mode=install ${INSTALL_LIB} ${WRKSRC}/libmpeg_lib.la ${DESTDIR}${PREFIX}/lib
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|