Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Nueva ebuild
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Spanish
View previous topic :: View next topic  
Author Message
jospalau
n00b
n00b


Joined: 10 May 2011
Posts: 6

PostPosted: Tue May 10, 2011 7:29 pm    Post subject: Reply with quote

He hecho un pequeño ebuild, a mi me funciona aunque faltarían poner algunas dependencias:
Code:

# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit subversion

DESCRIPTION="Controlador opensc para el DNI electrónico"
HOMEPAGE="www.dnie.es"

ESVN_REPO_URI="https://svn.forge.morfeo-project.org/opendnie/opensc-dnie/trunk"
ESVN_PROJECT="${PN/-svn}"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""

#DEPEND=">=dev-libs/opensc-0.11.13-r2
DEPEND="sys-devel/binutils"

RDEPEND="dev-lang/perl
   !dev-libs/opensc"
#      >=dev-libs/opensc-0.11.13-r2"

src_install() {
        emake DESTDIR="${D}" install || die "emake install failed"
}

src_compile() {
        "$WORKDIR/"${PN}-${PV}"/bootstrap"
        econf \
                --prefix=/usr \
                --sysconfdir=/etc \
                --datadir=/usr/share \
                --infodir=/usr/share/info \
                --mandir=/usr/share/man \
                || die "configure failed"
   emake || die "emake failed"
}

pkg_postinst() {
    ewarn
    ewarn "Paquete de pruebas"
    ewarn
}
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 4849
Location: Somewhere over Atlanta, Georgia

PostPosted: Tue May 10, 2011 8:05 pm    Post subject: Reply with quote

Split from the Report violations, duplicates, misplaced posts, etc. thread.

- John
_________________
Yoda: "Intentionally left blank, this space is."
Back to top
View user's profile Send private message
SS3
n00b
n00b


Joined: 23 Oct 2010
Posts: 13

PostPosted: Tue Oct 04, 2011 8:30 pm    Post subject: Reply with quote

Publícalo en Gentoo's Bugzilla para mejorarlo entre todos si podemos.

Saludos.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Spanish All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum