Redigest
This commit is contained in:
1
dev-ruby/yast-ruby-bindings/Manifest
Normal file
1
dev-ruby/yast-ruby-bindings/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
EBUILD yast-ruby-bindings-9999.ebuild 1664 SHA256 390731520f8dc376a4a8277f36c772b366a42111a4666a7959500e2fb340dd5b SHA512 ae2f0c23437613e1e237d7a22224046c5aed80cfd8772c2e5f12e90b7a576a64652593468ca3b764ea98a0c1f7e104980a22bae3323e4e0598b1696492c09fe4 WHIRLPOOL 7fabea77bb66beb8ed9a1bd777aa6ccd898435aa6c7b10118ef7aa46dc94ab20345b09ac6cc4b5b5ddd3feb96b9fdca809d27a579c7726d11f1f998412899a37
|
||||
77
dev-ruby/yast-ruby-bindings/yast-ruby-bindings-9999.ebuild
Normal file
77
dev-ruby/yast-ruby-bindings/yast-ruby-bindings-9999.ebuild
Normal file
@@ -0,0 +1,77 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/xmlindent/xmlindent-0.2.17-r1.ebuild,v 1.4 2012/07/29 16:01:34 armin76 Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
USE_RUBY="ruby18 ruby19 ruby20"
|
||||
|
||||
inherit toolchain-funcs git-2 cmake-utils ruby-ng
|
||||
EGIT_REPO_URI="https://github.com/yast/yast-ruby-bindings.git"
|
||||
|
||||
DESCRIPTION="YaST2 - Core Libraries"
|
||||
HOMEPAGE="http://github.com/yast/yast-ruby-bindings"
|
||||
#SRC_URI="mirror://sourceforge/xmlindent/${P}.tar.gz"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~amd64 ~arm"
|
||||
|
||||
IUSE=""
|
||||
DEPEND="app-misc/fdupes
|
||||
app-text/docbook-xsl-stylesheets
|
||||
dev-libs/libxslt
|
||||
dev-perl/XML-Writer
|
||||
app-doc/doxygen
|
||||
dev-tcltk/expect
|
||||
dev-util/dejagnu
|
||||
sys-libs/libxcrypt
|
||||
dev-ruby/yard
|
||||
dev-util/yast-devtools"
|
||||
|
||||
RDEPEND="dev-libs/yast-core
|
||||
dev-ruby/ruby-gettext"
|
||||
|
||||
pkg_setup() {
|
||||
ruby-ng_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
git-2_src_unpack
|
||||
cd "${WORKDIR}"
|
||||
mkdir all
|
||||
mv ${P} all/ || die "Could not move sources"
|
||||
}
|
||||
|
||||
all_ruby_prepare() {
|
||||
cmake-utils_src_prepare
|
||||
}
|
||||
|
||||
each_ruby_configure() {
|
||||
CMAKE_USE_DIR=${S}
|
||||
local mycmakeargs=(
|
||||
"-DRUBY_LIBRARY=$(ruby_get_libruby)"
|
||||
"-DRUBY_INCLUDE_PATH=$(ruby_get_hdrdir)"
|
||||
"-DRUBY_EXECUTABLE=${RUBY}" )
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
|
||||
each_ruby_compile() {
|
||||
CMAKE_USE_DIR=${S}
|
||||
cmake-utils_src_compile
|
||||
}
|
||||
|
||||
each_ruby_install() {
|
||||
CMAKE_USE_DIR=${S}
|
||||
cmake-utilsa_src_install
|
||||
}
|
||||
|
||||
#src_prepare() {
|
||||
# we use xcrypt ne need for the suse glibc owcrypt
|
||||
# sed -e "s!owcrypt!xcrypt!" -i configure.in.in
|
||||
# sed -e "s!<crypt.h>!<xcrypt.h>!" -i libycp/src/y2crypt.cc
|
||||
#}
|
||||
|
||||
#src_install() {
|
||||
# emake DESTDIR="${D}" install || die
|
||||
#}
|
||||
Reference in New Issue
Block a user