New package: pinephone-base-0.1

Close: #24072
This commit is contained in:
John Sullivan 2020-08-05 23:41:14 -07:00 committed by Đoàn Trần Công Danh
parent 6f79f54e24
commit 2e7abae018
2 changed files with 20 additions and 0 deletions

View file

@ -0,0 +1,5 @@
SUBSYSTEMS=="usb", ENV{.LOCAL_ifNum}="$attr{bInterfaceNumber}"
SUBSYSTEMS=="usb", KERNEL=="ttyUSB[0-9]*", ATTRS{idVendor}=="2c7c", ATTRS{idProduct}=="0125", ENV{.LOCAL_ifNum}=="01", SYMLINK+="EG25.NMEA", MODE="0660"
SUBSYSTEMS=="usb", KERNEL=="ttyUSB[0-9]*", ATTRS{idVendor}=="2c7c", ATTRS{idProduct}=="0125", ENV{.LOCAL_ifNum}=="02", SYMLINK+="EG25.AT", MODE="0660"
SUBSYSTEMS=="usb", KERNEL=="ttyUSB[0-9]*", ATTRS{idVendor}=="2c7c", ATTRS{idProduct}=="0125", ENV{.LOCAL_ifNum}=="03", SYMLINK+="EG25.MODEM", MODE="0660"

View file

@ -0,0 +1,15 @@
# Template file for 'pinephone-base'
pkgname=pinephone-base
version=0.1
revision=1
archs="aarch64*"
build_style=meta
depends="pinephone-kernel pinephone-uboot"
short_desc="Void Linux PinePhone platform package"
maintainer="John Sullivan <jsullivan@csumb.edu>"
license="Public Domain"
homepage="https://www.voidlinux.org"
do_install() {
vinstall "${FILESDIR}/90-modem-eg25.rules" 644 usr/lib/udev/rules.d
}