Skip to content

Commit

Permalink
dev-db/firebird: migrate to glep-81
Browse files Browse the repository at this point in the history
Bug: https://bugs.gentoo.org/781275
Closes: gentoo#24809
Signed-off-by: Conrad Kostecki <[email protected]>
  • Loading branch information
ConiKost committed Mar 29, 2022
1 parent e54a346 commit cd2d2a5
Showing 1 changed file with 9 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

MY_P=${PN/f/F}-$(ver_rs 4 '-')
inherit autotools flag-o-matic user
inherit autotools flag-o-matic

DESCRIPTION="Relational database offering many ANSI SQL:2003 and some SQL:2008 features"
HOMEPAGE="https://www.firebirdsql.org/"
SRC_URI="
https://github.com/FirebirdSQL/firebird/releases/download/R$(ver_rs 1-3 '_' $(ver_cut 1-3))/${MY_P}.tar.bz2
doc? ( ftp://ftpc.inprise.com/pub/interbase/techpubs/ib_b60_doc.zip )"
doc? ( ftp://ftpc.inprise.com/pub/interbase/techpubs/ib_b60_doc.zip )
"
S="${WORKDIR}/${MY_P}"

LICENSE="IDPL Interbase-1.0"
SLOT="0"
Expand All @@ -27,13 +29,14 @@ DEPEND="
dev-libs/libedit
dev-libs/libtommath
"
RDEPEND="${DEPEND}
RDEPEND="
${DEPEND}
acct-group/firebird
acct-user/firebird
xinetd? ( virtual/inetd )
!sys-cluster/ganglia
"

S="${WORKDIR}/${MY_P}"

PATCHES=(
"${FILESDIR}"/${PN}-3.0.2.32703.0-unbundle.patch
"${FILESDIR}"/${PN}-3.0.2.32703.0-cloop-compiler.patch
Expand All @@ -50,11 +53,6 @@ pkg_pretend() {
fi
}

pkg_setup() {
enewgroup firebird 450
enewuser firebird 450 /bin/sh /usr/$(get_libdir)/firebird firebird
}

check_sed() {
MSG="sed of $3, required $2 line(s) modified $1"
einfo "${MSG}"
Expand Down

0 comments on commit cd2d2a5

Please sign in to comment.