wok-next diff mp/receipt @ rev 21098

poppler: provide lib$PACKAGE for libs like some other packages do
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Jan 01 15:48:26 2019 +0200 (2019-01-01)
parents f48456621a9d
children 262dccc5e3ed
line diff
     1.1 --- a/mp/receipt	Tue Oct 16 16:46:05 2018 +0300
     1.2 +++ b/mp/receipt	Tue Jan 01 15:48:26 2019 +0200
     1.3 @@ -6,30 +6,28 @@
     1.4  SHORT_DESC="A text editor for programmers"
     1.5  MAINTAINER="allan316@gmail.com"
     1.6  LICENSE="GPL2"
     1.7 +WEB_SITE="http://triptico.com/software/mp.html"
     1.8 +
     1.9  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.10 -WEB_SITE="http://triptico.com/software/mp.html"
    1.11  WGET_URL="http://triptico.com/download/mp/$TARBALL"
    1.12 -TAGS="text-editor"
    1.13  
    1.14 -DEPENDS="gtk2"
    1.15  BUILD_DEPENDS="gtk2-dev"
    1.16  
    1.17 -# Rules to configure and make the package.
    1.18 -compile_rules()
    1.19 -{
    1.20 -	mkdir -p $DESTDIR/usr/bin
    1.21 +compile_rules() {
    1.22 +	mkdir -p $install/usr/bin
    1.23  	# sed -i 's/TRY_DRIVERS()/(0)/' mp_core.c
    1.24  	./config.sh \
    1.25  		--prefix=/usr \
    1.26  		--without-qt4 \
    1.27  		$CONFIGURE_ARGS
    1.28 -	make && make DESTDIR=$DESTDIR install
    1.29 +	make &&
    1.30 +	make DESTDIR=$install install
    1.31  }
    1.32  
    1.33 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.34 -genpkg_rules()
    1.35 -{
    1.36 +genpkg_rules() {
    1.37  	mkdir -p $fs/usr/share
    1.38  	cp -a $install/usr/bin $fs/usr
    1.39  	cp -a $install/usr/share/mp-5 $fs/usr/share
    1.40 +	DEPENDS="gtk2"
    1.41 +	TAGS="text-editor"
    1.42  }