wok-current annotate libacpi/receipt @ rev 15205
hg merge
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Sep 09 03:32:26 2013 +0300 (2013-09-09) |
parents | |
children | 6c3718ca17b6 |
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@13728 | 8 WEB_SITE="http://www.ngolde.de/libacpi.html" |
pascal@13728 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@13728 | 10 WGET_URL="http://www.ngolde.de/download/$TARBALL" |
pascal@13728 | 11 |
pascal@13728 | 12 DEPENDS="" |
pascal@13728 | 13 BUILD_DEPENDS="" |
pascal@13728 | 14 |
pascal@13728 | 15 # Rules to configure and make the package. |
pascal@13728 | 16 compile_rules() |
pascal@13728 | 17 { |
pascal@13728 | 18 cd $src |
pascal@13728 | 19 sed -i 's|/local||' config.mk |
pascal@13728 | 20 make && make DESTDIR=$DESTDIR install |
pascal@13728 | 21 } |
pascal@13728 | 22 |
pascal@13728 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13728 | 24 genpkg_rules() |
pascal@13728 | 25 { |
pascal@13728 | 26 mkdir -p $fs/usr/lib |
pascal@13728 | 27 cp -a $install/usr/lib/*so* $fs/usr/lib |
pascal@13728 | 28 } |