2021-03-25 00:37:04 +01:00
|
|
|
# Copyright 2020 Gentoo Authors
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI=7
|
|
|
|
|
|
|
|
inherit udev systemd git-r3
|
|
|
|
|
2022-01-19 14:27:11 +01:00
|
|
|
DESCRIPTION="A collection of scripts for setting up the PinePhone's modem"
|
|
|
|
HOMEPAGE="https://gitlab.manjaro.org/manjaro-arm/packages/community/pinephone/pinephone-modem-scripts"
|
|
|
|
EGIT_REPO_URI="https://gitlab.manjaro.org/manjaro-arm/packages/community/pinephone/pinephone-modem-scripts"
|
2021-03-25 00:37:04 +01:00
|
|
|
EGIT_BRANCH=eg25-manager
|
|
|
|
|
|
|
|
LICENSE="GPL-3"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~arm64"
|
|
|
|
IUSE="ofono"
|
|
|
|
|
2022-01-08 23:08:07 +01:00
|
|
|
DEPEND=" net-dialup/atinout
|
2021-03-25 00:37:04 +01:00
|
|
|
sci-geosciences/gpsd
|
|
|
|
"
|
|
|
|
RDEPEND="${DEPEND}"
|
|
|
|
BDEPEND=""
|
|
|
|
|
|
|
|
src_prepare() {
|
|
|
|
# fix path
|
|
|
|
default
|
|
|
|
sed -e s/bin/sbin/g -i gpsd-pinephone.service
|
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
2022-01-19 14:27:11 +01:00
|
|
|
udev_dorules ${FILESDIR}/*.rules
|
2021-03-25 00:37:04 +01:00
|
|
|
|
2022-01-19 14:27:11 +01:00
|
|
|
systemd_dounit ${FILESDIR}/*.service
|
|
|
|
dobin ${FILESDIR}/pinephone-modem-setup.sh
|
2021-03-25 00:37:04 +01:00
|
|
|
}
|