Last change
on this file since 2370 was 2293, checked in by Bruno Cornec, 7 years ago |
Add pb-server packaging support (preliminary work for RPM)
|
File size:
708 bytes
|
Rev | Line | |
---|
[2293] | 1 | # Copyright 1999-2010 Gentoo Foundation
|
---|
| 2 | # Distributed under the terms of the GNU General Public License v2
|
---|
| 3 | # $Header: $
|
---|
| 4 | # Contributed by Joachim Langenbach <joachim_at_falaba.de>
|
---|
| 5 |
|
---|
| 6 | EAPI=5
|
---|
| 7 | inherit perl-module
|
---|
| 8 |
|
---|
| 9 | PN="PBPKG"
|
---|
| 10 | DESCRIPTION="PBSUMMARY"
|
---|
| 11 | HOMEPAGE="PBURL"
|
---|
| 12 | SRC_URI="PBREPO/PBPKG-PBVER"
|
---|
| 13 |
|
---|
| 14 | LICENSE="GPL-2"
|
---|
| 15 | SLOT="0"
|
---|
| 16 | KEYWORDS="~amd64 ~x86"
|
---|
| 17 | IUSE=""
|
---|
| 18 |
|
---|
| 19 | DEPEND="${RDEPEND}"
|
---|
| 20 | RDEPEND="dev-perl/Mojolicious
|
---|
| 21 | "
|
---|
| 22 | # Targets for pb
|
---|
| 23 | CONFDIR="/usr/share/pb"
|
---|
| 24 | SYSCONFDIR="/etc/pb"
|
---|
| 25 | MANDIR="/usr/share/man"
|
---|
| 26 |
|
---|
| 27 | S=${WORKDIR}/${PN}-${PV}
|
---|
| 28 |
|
---|
| 29 | src_unpack() {
|
---|
| 30 | unpack ${A}
|
---|
| 31 | cd "${S}"
|
---|
| 32 | }
|
---|
| 33 |
|
---|
| 34 | #src_install() {
|
---|
| 35 | # dobin bin/*
|
---|
| 36 | # insinto /usr/lib/perl5/site_perl/5.8.8/ProjectBuilder
|
---|
| 37 | # doins lib/ProjectBuilder/*
|
---|
| 38 | # insinto etc
|
---|
| 39 | # doins etc/*
|
---|
| 40 | #}
|
---|
Note:
See
TracBrowser
for help on using the repository browser.