X-Original-To: alpine-aports@mail.alpinelinux.org Delivered-To: alpine-aports@mail.alpinelinux.org Received: from mail.alpinelinux.org (dallas-a1.alpinelinux.org [127.0.0.1]) by mail.alpinelinux.org (Postfix) with ESMTP id A1F9EDC0B7D for ; Tue, 30 Jun 2015 19:40:38 +0000 (UTC) Received: from mail-ig0-f171.google.com (mail-ig0-f171.google.com [209.85.213.171]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 73AFDDC02AC for ; Tue, 30 Jun 2015 19:40:38 +0000 (UTC) Received: by igblr2 with SMTP id lr2so82705781igb.0 for ; Tue, 30 Jun 2015 12:40:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=8i50KgK2lSBUj5Xp/H9FA3anhBT/gLOBo/18cbJ2Tt4=; b=t54h+TXOfTGwnN44whWMwmQE1U84jOjU51CQMOIH0zgYKGVEv3cC9IZPK6selNVRvI 7XQoPRDFldzpLzwLcE7BTB0EoLmrkyZPjt+wO5VFl6Mxp/ZV3jhgu/DNcACunZR0BzMd mfphvzLM4CgnyKF/STSp3/8lLZrK8YPlrGaPlRjvx1P7gXHk8gw3aU1t1YQsQZeBgdsi JwKDOUvc0oMmYGl2pIcDIsebGqgmGqotbbUOz1soZMt3oXxKs/SZaYmjTFIv5g96JIHl kzucik4sWW9qAAANOsQ1lF+CTAn5klbLI/xqFaWF+NqBNLQaABzmX4i+VWcumk/iSj5X LKYQ== X-Received: by 10.50.50.130 with SMTP id c2mr26628783igo.19.1435693237289; Tue, 30 Jun 2015 12:40:37 -0700 (PDT) Received: from localhost.localdomain (c-98-220-44-199.hsd1.in.comcast.net. [98.220.44.199]) by mx.google.com with ESMTPSA id o140sm2326447ioe.27.2015.06.30.12.40.35 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 30 Jun 2015 12:40:36 -0700 (PDT) From: Peter Bui To: alpine-aports@lists.alpinelinux.org Cc: Peter Bui Subject: [alpine-aports] [PATCH] testing/acpi: new aport Date: Tue, 30 Jun 2015 14:40:28 -0500 Message-Id: <1435693228-15967-1-git-send-email-pnutzh4x0r@gmail.com> X-Mailer: git-send-email 2.4.1 X-Virus-Scanned: ClamAV using ClamSMTP X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: http://sourceforge.net/projects/acpiclient/files/acpiclient/ ACPI client for battery, power, and thermal readings --- testing/acpi/APKBUILD | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 testing/acpi/APKBUILD diff --git a/testing/acpi/APKBUILD b/testing/acpi/APKBUILD new file mode 100644 index 0000000..4355a03 --- /dev/null +++ b/testing/acpi/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Peter Bui +# Maintainer: +pkgname=acpi +pkgver=1.7 +pkgrel=0 +pkgdesc="ACPI client for battery, power, and thermal readings" +url="http://sourceforge.net/projects/acpiclient/files/acpiclient/" +arch="all" +license="GPL2" +depends= +depends_dev="" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-doc" +source="http://downloads.sourceforge.net/acpiclient/$pkgname-$pkgver.tar.gz" + +_builddir="${srcdir}/$pkgname-$pkgver" +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + ./configure --prefix=/usr || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR"=$pkgdir" install || return 1 +} + +md5sums="b52ce4ca39bbf7000a1c2de8879f1dcb acpi-1.7.tar.gz" +sha256sums="d7a504b61c716ae5b7e81a0c67a50a51f06c7326f197b66a4b823de076a35005 acpi-1.7.tar.gz" +sha512sums="e6c96707d651eb20aa4a4c76f78891154d576ccdfaef08b5eff6094b90b62a0e97f6e35a4a996dcc3b5f0b57ee2c60542f41832039c6cbdf853ff3d022c1b609 acpi-1.7.tar.gz" -- 2.4.1 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---