wok-next annotate liboil/receipt @ rev 20328
Up libextractor, libmad, liboil, pciids, pciutils
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Nov 14 03:01:24 2017 +0200 (2017-11-14) |
parents | 876d33bfd889 |
children | 757d032c55c7 |
rev | line source |
---|---|
al@20328 | 1 # SliTaz package receipt v2. |
jozee@2674 | 2 |
jozee@2674 | 3 PACKAGE="liboil" |
slaxemulator@6344 | 4 VERSION="0.3.17" |
jozee@2674 | 5 CATEGORY="development" |
al@20328 | 6 SHORT_DESC="Library of Optimized Inner Loops" |
jozee@2674 | 7 MAINTAINER="jozee@slitaz.org" |
pascal@15269 | 8 LICENSE="BSD" |
al@20328 | 9 WEB_SITE="https://liboil.freedesktop.org/wiki/" |
al@20328 | 10 |
jozee@2674 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@20328 | 12 WGET_URL="http://liboil.freedesktop.org/download/$TARBALL" |
jozee@2674 | 13 |
al@20328 | 14 SPLIT="liboil-dev" |
al@20328 | 15 COOKOPTS="skip-log-errors" |
pascal@15269 | 16 |
al@20328 | 17 compile_rules() { |
al@20328 | 18 ./configure \ |
al@20328 | 19 --prefix=/usr \ |
al@20328 | 20 --sysconfdir=/etc \ |
al@20328 | 21 $CONFIGURE_ARGS && |
al@20328 | 22 make && |
al@20328 | 23 make install || return 1 |
al@20328 | 24 |
al@20328 | 25 mv $install/usr/include/liboil-0.3/liboil/ $install/usr/include/ |
al@20328 | 26 rmdir $install/usr/include/liboil-0.3/ |
jozee@2674 | 27 } |
jozee@2674 | 28 |
al@20328 | 29 genpkg_rules() { |
al@20328 | 30 case $PACKAGE in |
al@20328 | 31 liboil) copy @std;; |
al@20328 | 32 *-dev) copy @dev;; |
al@20328 | 33 esac |
jozee@2674 | 34 } |