Date: Fri, 13 Jul 2007 16:47:01 +0200 (CEST) From: Ed Schouten <ed@fxq.nl> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/114555: [New port] devel/elfrc: ELF resource compiler Message-ID: <20070713144701.958361CCE9@palm.hoeg.nl> Resent-Message-ID: <200707131450.l6DEo1fm068107@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 114555 >Category: ports >Synopsis: [New port] devel/elfrc: ELF resource compiler >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Jul 13 14:50:01 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Ed Schouten >Release: FreeBSD 6.2-STABLE i386 >Organization: >Environment: System: FreeBSD palm.hoeg.nl 6.2-STABLE FreeBSD 6.2-STABLE #0: Thu Jul 5 19:51:49 CEST 2007 ed@palm.hoeg.nl:/usr/obj/usr/src/sys/PALM i386 >Description: elfrc is a small utility that is able to generate ELF object files from resources (files). This allows you to link regular files inside ELF binaries (images, etc). elfrc only contains a really primitive Makefile that doesn't honour LDFLAGS properly, so we're better off just using a oneliner to compile the application. It doesn't have a manpage, so we'll just install the README. >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # Makefile # distinfo # pkg-descr # echo x - Makefile sed 's/^X//' >Makefile << 'END-of-Makefile' X# New ports collection makefile for: elfrc X# Date created: 13 July 2007 X# Whom: Ed Schouten <ed@fxq.nl> X# X# $FreeBSD$ X# X XPORTNAME= elfrc XPORTVERSION= 0.7 XCATEGORIES= devel XMASTER_SITES= http://ktown.kde.org/~frerich/ X XMAINTAINER= ed@fxq.nl XCOMMENT= Resource compiler for ELF systems X XPLIST_FILES= bin/elfrc XPORTDOCS= README X Xdo-build: X @${ECHO} '#define ELFRC_VERSION "${PORTVERSION}"' > ${WRKSRC}/config.h X ${CC} ${CFLAGS} ${LDFLAGS} -o ${WRKSRC}/elfrc ${WRKSRC}/elfrc.c X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/elfrc ${PREFIX}/bin/ X.if !defined(NOPORTDOCS) X ${MKDIR} ${DOCSDIR} X ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/ X.endif X X.include <bsd.port.mk> END-of-Makefile echo x - distinfo sed 's/^X//' >distinfo << 'END-of-distinfo' XMD5 (elfrc-0.7.tar.gz) = 397c26285bd153808d651fd2877e2ed7 XSHA256 (elfrc-0.7.tar.gz) = 4d3a33aed7655040148192b8e9ca9eabb1e64e410341e31ef21a50c5064351b4 XSIZE (elfrc-0.7.tar.gz) = 8433 END-of-distinfo echo x - pkg-descr sed 's/^X//' >pkg-descr << 'END-of-pkg-descr' Xelfrc is a utility that is able to compile resources (files) to object Xfiles. It can also generate corresponding C/C++ header files to use Xthese resources from within a linked application. X XWWW: http://ktown.kde.org/~frerich/elfrc.html END-of-pkg-descr exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070713144701.958361CCE9>