wok-6.x annotate libacpi/receipt @ rev 18236
Up: tazpkg(819): re-write "desc" function
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jul 24 15:13:34 2015 +0300 (2015-07-24) |
parents | 6341d02298ae |
children | ede1d184d5c5 |
rev | line source |
---|---|
pascal@13728 | 1 # SliTaz package receipt. |
pascal@13728 | 2 |
pascal@13728 | 3 PACKAGE="libacpi" |
pascal@13728 | 4 VERSION="0.2" |
pascal@13728 | 5 CATEGORY="misc" |
pascal@13728 | 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" |
pascal@13728 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@13728 | 11 WGET_URL="http://www.ngolde.de/download/$TARBALL" |
pascal@13728 | 12 |
pascal@13728 | 13 DEPENDS="" |
pascal@13728 | 14 BUILD_DEPENDS="" |
pascal@13728 | 15 |
pascal@13728 | 16 # Rules to configure and make the package. |
pascal@13728 | 17 compile_rules() |
pascal@13728 | 18 { |
pascal@13728 | 19 cd $src |
pascal@13728 | 20 sed -i 's|/local||' config.mk |
pascal@13728 | 21 make && make DESTDIR=$DESTDIR install |
pascal@13728 | 22 } |
pascal@13728 | 23 |
pascal@13728 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13728 | 25 genpkg_rules() |
pascal@13728 | 26 { |
pascal@13728 | 27 mkdir -p $fs/usr/lib |
pascal@13728 | 28 cp -a $install/usr/lib/*so* $fs/usr/lib |
pascal@13728 | 29 } |