diff --git a/srcpkgs/acpi/template b/srcpkgs/acpi/template new file mode 100644 index 0000000000..1c18518dab --- /dev/null +++ b/srcpkgs/acpi/template @@ -0,0 +1,26 @@ +# Template file for 'acpi' +pkgname=acpi +version=1.6 +revision=1 +build_style=gnu-configure +configure_args="--prefix=/usr" +short_desc="Displays informations about ACPI devices (battery, thermal sensors and power)" +maintainer="Ypnose " +license="GPL-2" +homepage="http://sourceforge.net/projects/acpiclient/" +distfiles="http://downloads.sourceforge.net/acpiclient/$pkgname-$version.tar.gz" +checksum=ed61d20400c4fd3965dde9b49ab3ac74da02f8eca1a55454f7a1ac3fa1fd5c31 + +do_build() { + make CC=$CC ${makejobs} +} + +do_install() { + make DESTDIR=$DESTDIR install +} + +acpi_package() { + pkg_install() { + vmove usr + } +}