blob: 9ab4912b6f8589a0f092b9a09b9c3d8167555658 (
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
39
40
41
42
43
44
45
|
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/skalibs/skalibs-0.30.ebuild,v 1.3 2004/03/14 12:28:58 mr_bones_ Exp $
# NOTE: The comments in this file are for instruction and documentation.
# They're not meant to appear with your final, production ebuild. Please
# remember to remove them before submitting or committing your ebuild. That
# doesn't mean you can't add your own comments though.
DESCRIPTION="common libraries for skarnet.org packages"
HOMEPAGE="http://www.skarnet.org/software/skalibs/"
SRC_URI="http://www.skarnet.org/software/skalibs/${P}.tar.gz"
LICENSE="public-domain"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
DEPEND="dev-libs/dietlibc"
#RDEPEND=""
MY_INSTALL="/package/prog/skalibs/"
# Source directory; the dir where the sources can be found (automatically
# unpacked) inside ${WORKDIR}. S will get a default setting of ${WORKDIR}/${P}
# if you omit this line.
S=${WORKDIR}/prog/${P}
src_unpack() {
unpack ${A}
cd ${S}/src/headers
patch gccattributes.h < ${FILESDIR}/skalibs-0.30-gccattributes.h.patch
}
src_compile() {
package/install
}
src_install() {
insinto ${MY_INSTALL}/library
doins library/*.a
insinto ${MY_INSTALL}/sysdeps
doins sysdeps/*
insinto ${MY_INSTALL}/include
doins include/*
}
|