wok-next annotate screentest/receipt @ rev 21066

Switch some python packages to traditional build
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Dec 06 13:30:23 2018 +0200 (2018-12-06)
parents f48456621a9d
children d635206a5649
rev   line source
al@20604 1 # SliTaz package receipt v2.
pascal@18487 2
pascal@18487 3 PACKAGE="screentest"
pascal@18487 4 VERSION="2.0"
pascal@18487 5 CATEGORY="misc"
al@20604 6 SHORT_DESC="A CRT and LCD screen testing utility"
pascal@18487 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@18487 8 LICENSE="GPL2"
al@20604 9 WEB_SITE="http://tobix.github.io/screentest/"
al@20604 10
pascal@18487 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@18487 12 WGET_URL="https://github.com/TobiX/screentest/archive/$VERSION.tar.gz"
pascal@18487 13
al@21017 14 BUILD_DEPENDS="gtk2-dev libglade-dev automake autoconf libtool"
pascal@18487 15
al@20604 16 compile_rules() {
pascal@18487 17 sed -i 's/prune , -name/prune -or -name/' autogen.sh
pascal@18487 18 ./autogen.sh
al@20604 19
al@20604 20 ./configure $CONFIGURE_ARGS &&
al@20604 21 fix libtool &&
pascal@18487 22 make &&
al@21020 23 make DESTDIR=$install install
pascal@18487 24 }
pascal@18487 25
al@20604 26 genpkg_rules() {
al@20604 27 copy @std
al@21017 28 DEPENDS="gtk2 libglade"
al@20604 29 TAGS="test diagnostic screen"
pascal@18487 30 }