Summary: | New ebuild: x11-drivers/psmouse-alps-driver-1.2 - Psmouse kernel module with support for alpsv1-alpsv6 touchpad | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | RedEyedMan <kegalym2> |
Component: | New packages | Assignee: | Default Assignee for New Packages <maintainer-wanted> |
Status: | UNCONFIRMED --- | ||
Severity: | enhancement | CC: | kegalym2 |
Priority: | Normal | Keywords: | EBUILD |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://www.dahetral.com/public-download | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
x11-drivers/psmouse-alps-driver-1.2.ebuild
x11-drivers/psmouse-alps-driver-1.2.ebuild x11-drivers/psmouse-alps-driver-1.2.ebuild |
Description
RedEyedMan
2013-02-24 16:21:40 UTC
Created attachment 339972 [details]
x11-drivers/psmouse-alps-driver-1.2.ebuild
Ebuild cleaned from unrelated stuff
> URLLNK="wget -O ${DISTDIR}/psmouse-alps-dst-${PV}.tbz http://www.dahetral.com/public-download/psmouse-alps-dst-${PV}.tbz/at_download/file" It is strictly forbidden to list / run commands in the global scope because that breaks the metadata cache. You can just do SRC_URI="http://www.dahetral.com/public-download/psmouse-alps-dst-${PV}.tbz/at_download/file -> psmouse-alps-dst-${PV}.tbz" > DEPEND="net-misc/wget" As a result, you can remove this. > _K30=`uname -r | grep 3.0 || true` > _K37=`uname -r | grep 3.7 || true` You can use the linux-info class for this, uname does not respect the selected kernel and the selected kernel is not always the running kernel. > sed -e ... Please add `|| die "sed failed"` to the end of such calls to guard them against failures. > mkdir -p ${S}/usr/src/dkms/src > cp -RL ${S}/usr/src/psmouse-alps-dst-${PV}/src/* ${S}/usr/src/dkms/src > cp -RL ${S}/usr/src/psmouse-alps-dst-${PV}/dkms.conf ${S}/usr/src/dkms There are install functions for this purpose which die on their own when they don't work, see http://devmanual.gentoo.org/function-reference/install-functions for a list of them. Created attachment 340118 [details]
x11-drivers/psmouse-alps-driver-1.2.ebuild
Fixed ebuild.
Maybe someone else can test it, because I have not laptop with alps touchpad.
|