wok-next view libacpi/receipt @ rev 21103
emacs: depends on emacs-common
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jan 03 11:21:15 2019 +0200 (2019-01-03) |
parents | d5aab818505e |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libacpi"
4 VERSION="0.2"
5 CATEGORY="misc"
6 SHORT_DESC="General purpose library for ACPI"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="http://www.ngolde.de/libacpi.html"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://www.ngolde.de/download/$TARBALL"
14 BUILD_DEPENDS="patch"
15 SPLIT="$PACKAGE-dev"
17 compile_rules() {
18 make PREFIX=/usr &&
19 make PREFIX=/usr DESTDIR=$install install || return 1
21 find $install -type f -name '*.so*' -exec chmod 755 '{}' \; # 644->755
22 }
24 genpkg_rules() {
25 case $PACKAGE in
26 libacpi) copy *.so*;;
27 *-dev) copy @dev bin/;;
28 esac
29 }