wok-next view libacpi/receipt @ rev 21722
efivar: typo in post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 01 10:31:46 2020 +0000 (2020-09-01) |
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 }