wok-next annotate jasper/receipt @ rev 20273

remove samba-pam
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 08 10:06:19 2017 +0100 (2017-11-08)
parents 4048d48a47c1
children c4e53a39395a
rev   line source
al@19753 1 # SliTaz package receipt v2.
jozee@3038 2
jozee@3038 3 PACKAGE="jasper"
al@19753 4 VERSION="2.0.12"
jozee@3038 5 CATEGORY="graphics"
al@19693 6 SHORT_DESC="Implementation of JPEG-2000 codec"
jozee@3038 7 MAINTAINER="jozee@slitaz.org"
pascal@15601 8 LICENSE="MIT"
al@19753 9 WEB_SITE="http://www.ece.uvic.ca/~frodo/jasper/"
pascal@19096 10 HOST_ARCH="i486 arm"
jozee@3038 11
al@19753 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@19693 13 WGET_URL="${WEB_SITE}software/$TARBALL"
al@19693 14
al@19753 15 BUILD_DEPENDS="cmake libjpeg-turbo-dev"
al@19753 16 SPLIT="jasper-dev"
jozee@3038 17
jozee@3038 18 # Rules to configure and make the package.
jozee@3038 19 compile_rules()
jozee@3038 20 {
al@19753 21 mkdir -p build
al@19753 22 cmake -G "Unix Makefiles" -H. -Bbuild -DCMAKE_INSTALL_PREFIX=/usr
al@19753 23 cd build
al@19753 24 make clean all &&
al@19753 25 make install
jozee@3038 26 }
jozee@3038 27
jozee@3038 28 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@3038 29 genpkg_rules()
jozee@3038 30 {
al@19753 31 case $PACKAGE in
al@19753 32 jasper)
al@19753 33 copy @std
al@19753 34 DEPENDS="libjpeg-turbo"
al@19753 35 TAGS="jpeg jpg photo"
al@19753 36 ;;
al@19753 37 *-dev) copy @dev;;
al@19753 38 esac
jozee@3038 39 }