wok-next diff mtdev/receipt @ rev 20443
The rest of my "home work" for update many packages (up to Xorg, GTK and Openbox) for Next and mainly for Next64. Since this point this repository is open for commits. Many errors are expected due to harfbuzz-freetype dependency loop...
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Feb 24 16:17:33 2018 +0200 (2018-02-24) |
parents | f463de72afe3 |
children | 556349764d57 |
line diff
1.1 --- a/mtdev/receipt Sun Jun 18 04:38:10 2017 +0300 1.2 +++ b/mtdev/receipt Sat Feb 24 16:17:33 2018 +0200 1.3 @@ -1,4 +1,4 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="mtdev" 1.8 VERSION="1.1.5" 1.9 @@ -7,22 +7,23 @@ 1.10 MAINTAINER="mojo@slitaz.org" 1.11 LICENSE="MIT" 1.12 WEB_SITE="http://bitmath.org/code/mtdev/" 1.13 -HOST_ARCH="i486 arm" 1.14 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/mtdev.html" 1.15 1.16 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.17 WGET_URL="$WEB_SITE$TARBALL" 1.18 1.19 -# Rules to configure and make the package. 1.20 -compile_rules() 1.21 -{ 1.22 +SPLIT="mtdev-dev" 1.23 + 1.24 +compile_rules() { 1.25 ./configure \ 1.26 --disable-static \ 1.27 $CONFIGURE_ARGS && 1.28 make && make install 1.29 } 1.30 1.31 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.32 -genpkg_rules() 1.33 -{ 1.34 - copy bin/ *.so* 1.35 +genpkg_rules() { 1.36 + case $PACKAGE in 1.37 + mtdev) copy @std;; 1.38 + *-dev) copy @dev;; 1.39 + esac 1.40 }