33 lines
No EOL
767 B
Text
Executable file
33 lines
No EOL
767 B
Text
Executable file
APP=upower
|
|
VERSION=0.99.11
|
|
BUILD=1sml
|
|
HOMEPAGE="http://upower.freedesktop.org"
|
|
DOWNLOAD="https://upower.freedesktop.org/releases/upower-0.99.11.tar.xz"
|
|
DESC="Abstraction layer for enumerating power devices"
|
|
REQUIRES="pcre glib util-linux netbsd-curses libffi eudev libusb dbus"
|
|
|
|
build() {
|
|
mkandenterbuilddir
|
|
rm -rf $APP-$VERSION
|
|
|
|
tar xf $SRCDIR/$APP-$VERSION.tar.?z*
|
|
cd $APP-$VERSION
|
|
fixbuilddirpermissions
|
|
|
|
./configure \
|
|
--prefix="" \
|
|
--sysconfdir=/etc \
|
|
--localstatedir=/var \
|
|
--disable-static
|
|
|
|
make
|
|
make install DESTDIR=$PKG
|
|
|
|
cp COPYING $PKGDOCS/
|
|
|
|
mkfinalpkg
|
|
}
|
|
|
|
SHA512SUMS="
|
|
1f61e3d47ee62e34a7be15cc7144ee5f684eb204859bbd98c4b697e25ce3a6b7a100cb2354518190ebcaffb2f96d4ffb6464309654c16aea9dc1db727b982aca upower-0.99.11.tar.lz
|
|
" |