summaryrefslogtreecommitdiffstats
path: root/libs/elfio/cygwin/elfio.cygport
blob: 024b886342b2bf6107d5d50d54d5b000e5e21b79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
inherit python python3

NAME="ELFIO"
VERSION=3.3
RELEASE=1
CATEGORY="Devel System Libs"
SUMMARY="ELFIO is a header-only C++ library intended for reading and generating
files in the ELF binary format"
DESCRIPTION="ELFIO is a small, header-only C++ library that provides a simple
interface for reading and generating files in ELF binary format. It is used
as a standalone library - it is not dependant on any other product or project.
Adhering to ISO C++, it compiles on a wide variety of architectures
and compilers."

HOMEPAGE="http://elfio.sourceforge.net/"
SRC_URI="https://sourceforge.net/projects/elfio/files/ELFIO-sources/${PN}-${PV}/elfio-${PV}.tar.gz"
SRC_DIR="${PN}-${PV}"

PKG_NAMES="ELFIO"
ELFIO_REQUIRES="cygwin"
ELFIO_CONTENTS="usr/include/ usr/share/${PN}"
ELFIO_DOCS='AUTHORS COPYING README doc/elfio.pdf'

src_compile() {
	cd ${B}
}

src_install() {
	cd ${B}
	dodir /usr/include
	cp -r ${S}/elfio ${D}/usr/include/

	dodir /usr/share/${PN}
	cp -r ${S}/configure ${S}/depcomp ${S}/install-sh ${S}/missing \
	      ${S}/configure.ac ${S}/Makefile.am ${S}/Makefile.in ${S}/aclocal.m4 \
	      ${S}/examples \
	      ${D}/usr/share/${PN}
}
OpenPOWER on IntegriCloud