30 lines
716 B
Makefile
30 lines
716 B
Makefile
# $NetBSD: Makefile,v 1.3 2012/10/06 14:11:01 asau Exp $
|
|
#
|
|
|
|
DISTNAME= jpegquality
|
|
PKGNAME= jpegquality-20070802
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= http://www.wired.com/images_blogs/threatlevel/files/
|
|
EXTRACT_SUFX= .txt
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.wired.com/threatlevel/2007/08/researchers-ana/
|
|
COMMENT= Print quantization tables of a JPEG file
|
|
|
|
INSTALLATION_DIRS= bin
|
|
|
|
DIST_SUBDIR= ${PKGNAME_NOREV}
|
|
|
|
WRKSRC= ${WRKDIR}
|
|
USE_LANGUAGES= c # none
|
|
|
|
post-extract:
|
|
mv ${WRKSRC}/jpegquality.txt ${WRKSRC}/jpegquality.c
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && ${CC} -o jpegquality jpegquality.c
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/jpegquality ${DESTDIR}${PREFIX}/bin
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|