wok-next annotate 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 |
rev | line source |
---|---|
al@19811 | 1 # SliTaz package receipt v2. |
pascal@13728 | 2 |
pascal@13728 | 3 PACKAGE="libacpi" |
pascal@13728 | 4 VERSION="0.2" |
pascal@13728 | 5 CATEGORY="misc" |
al@19811 | 6 SHORT_DESC="General purpose library for ACPI" |
pascal@13728 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15472 | 8 LICENSE="MIT" |
pascal@13728 | 9 WEB_SITE="http://www.ngolde.de/libacpi.html" |
al@19811 | 10 |
pascal@13728 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@13728 | 12 WGET_URL="http://www.ngolde.de/download/$TARBALL" |
pascal@13728 | 13 |
al@19811 | 14 BUILD_DEPENDS="patch" |
al@21020 | 15 SPLIT="$PACKAGE-dev" |
pascal@13728 | 16 |
al@21020 | 17 compile_rules() { |
al@19811 | 18 make PREFIX=/usr && |
al@21093 | 19 make PREFIX=/usr DESTDIR=$install install || return 1 |
al@21093 | 20 |
al@21093 | 21 find $install -type f -name '*.so*' -exec chmod 755 '{}' \; # 644->755 |
pascal@13728 | 22 } |
pascal@13728 | 23 |
al@21020 | 24 genpkg_rules() { |
al@19811 | 25 case $PACKAGE in |
al@19811 | 26 libacpi) copy *.so*;; |
al@19811 | 27 *-dev) copy @dev bin/;; |
al@19811 | 28 esac |
pascal@13728 | 29 } |