smlinux/xfce/upower/upower.SMBuild
SMLinux 57fb724e35 -> Replaced upper case variable names in Xfce with lower case
-> Fixed make install line in xfce/xfce4-session build file to prevent /usr directory from being created when prefix is set to "/"
-> Fixed cmake build option in xfce/xfce4-whiskermenu-plugin build file to properly install whisker menu library in lib instead of lib64
2022-02-13 19:15:42 +05:30

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
"