wok-next rev 20500
Tiny edits: fix permissions and avoid out-of-tree files.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Mar 15 20:43:55 2018 +0200 (2018-03-15) |
parents | da6f77539069 |
children | 94c7506c8138 |
files | 0install/receipt Geomyidae/receipt LibreOffice/receipt TeXmacs-windows-fonts/receipt abiword/receipt adeskbar/receipt adobe-air-sdk/receipt aescrypt/receipt afio/receipt airgeddon/receipt |
line diff
1.1 --- a/0install/receipt Thu Mar 15 12:17:34 2018 +0100 1.2 +++ b/0install/receipt Thu Mar 15 20:43:55 2018 +0200 1.3 @@ -1,29 +1,26 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="0install" 1.8 VERSION="1.13" 1.9 -SOURCE="zeroinstall-injector" 1.10 CATEGORY="misc" 1.11 -SHORT_DESC="A decentralised cross-distribution software installation system." 1.12 +SHORT_DESC="A decentralised cross-distribution software installation system" 1.13 MAINTAINER="pascal.bellard@slitaz.org" 1.14 LICENSE="LGPL2.1" 1.15 +WEB_SITE="http://0install.net/" 1.16 + 1.17 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.18 -WEB_SITE="http://0install.net/" 1.19 WGET_URL="http://downloads.sf.net/project/zero-install/$PACKAGE/$VERSION/$TARBALL" 1.20 1.21 -DEPENDS="pygtk xdg-utils" 1.22 BUILD_DEPENDS="python pygobject" 1.23 1.24 -# Rules to configure and make the package. 1.25 -compile_rules() 1.26 -{ 1.27 - python setup.py install --root=$DESTDIR 1.28 +compile_rules() { 1.29 + python setup.py install --root=$DESTDIR || return 1 1.30 + 1.31 # move man pages in a right place 1.32 mv $install/usr/man $install/usr/share 1.33 } 1.34 1.35 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.36 -genpkg_rules() 1.37 -{ 1.38 - cp -a $install/* $fs 1.39 +genpkg_rules() { 1.40 + copy @std 1.41 + DEPENDS="pygtk xdg-utils" 1.42 }
2.1 --- a/Geomyidae/receipt Thu Mar 15 12:17:34 2018 +0100 2.2 +++ b/Geomyidae/receipt Thu Mar 15 20:43:55 2018 +0200 2.3 @@ -1,29 +1,25 @@ 2.4 -# SliTaz package receipt. 2.5 +# SliTaz package receipt v2. 2.6 2.7 PACKAGE="Geomyidae" 2.8 VERSION="0.26.1" 2.9 CATEGORY="network" 2.10 -SHORT_DESC="Geomyidae is a daemon for serving the Gopher protocol." 2.11 +SHORT_DESC="Geomyidae is a daemon for serving the Gopher protocol" 2.12 MAINTAINER="allan316@gmail.com" 2.13 LICENSE="MIT" 2.14 -SOURCE="geomyidae" 2.15 -TARBALL="$SOURCE-$VERSION.tar.gz" 2.16 WEB_SITE="http://www.r-36.net/" 2.17 + 2.18 +TARBALL="geomyidae-$VERSION.tar.gz" 2.19 WGET_URL="${WEB_SITE}src/$PACKAGE/$TARBALL" 2.20 2.21 -# Rules to configure and make the package. 2.22 -compile_rules() 2.23 -{ 2.24 +compile_rules() { 2.25 # Move man page to the right place 2.26 sed -i 's|/man/|/share&|' $src/Makefile 2.27 2.28 - make && make DESTDIR=$DESTDIR install 2.29 + make && make DESTDIR=$DESTDIR install || return 1 2.30 + 2.31 + install -Dm644 $src/index.gph $install/var/gopher/index.gph 2.32 } 2.33 2.34 -# Rules to gen a SliTaz package suitable for Tazpkg. 2.35 -genpkg_rules() 2.36 -{ 2.37 - mkdir -p $fs/usr $fs/var/gopher 2.38 - cp -a $src/index.gph $fs/var/gopher/ 2.39 - cp -a $install/usr/bin $fs/usr 2.40 +genpkg_rules() { 2.41 + copy @std 2.42 }
3.1 --- a/LibreOffice/receipt Thu Mar 15 12:17:34 2018 +0100 3.2 +++ b/LibreOffice/receipt Thu Mar 15 20:43:55 2018 +0200 3.3 @@ -45,6 +45,11 @@ 3.4 # remove useless (after processing by sdft) lines from desktop files 3.5 sed -i '/^#/d; /^Actions=/d; s|X-Red-Hat-Base;||; 3.6 s|X-MandrivaLinux-[^;]*;||' $install/usr/share/applications/*.desktop 3.7 + 3.8 + # fix some files permissions 3.9 + find $install -type f -name 'libpl*.so' -exec chmod -v 755 '{}' \; # was 444 3.10 + find $install -type f -name 'Carlito*.ttf' -exec chmod -v 644 '{}' \; # was 640 3.11 + find $install -type f -name 'Noto*.ttf' -exec chmod -v 644 '{}' \; # was 640 3.12 } 3.13 3.14 genpkg_rules() {
4.1 --- a/TeXmacs-windows-fonts/receipt Thu Mar 15 12:17:34 2018 +0100 4.2 +++ b/TeXmacs-windows-fonts/receipt Thu Mar 15 20:43:55 2018 +0200 4.3 @@ -1,4 +1,4 @@ 4.4 -# SliTaz package receipt. 4.5 +# SliTaz package receipt v2. 4.6 4.7 PACKAGE="TeXmacs-windows-fonts" 4.8 VERSION="1.0" 4.9 @@ -6,15 +6,17 @@ 4.10 SHORT_DESC="Fonts for using TeXmacs without TeX" 4.11 MAINTAINER="slitaz@leledy.fr" 4.12 LICENSE="LPPL" 4.13 +WEB_SITE="http://www.texmacs.org" 4.14 + 4.15 TARBALL="$PACKAGE-$VERSION-noarch.tar.gz" 4.16 -WEB_SITE="http://www.texmacs.org" 4.17 WGET_URL="ftp://ftp.texmacs.org/pub/TeXmacs/fonts/$TARBALL" 4.18 4.19 -DEPENDS="" 4.20 +compile_rules() { 4.21 + mkdir -p $install/usr/share/TeXmacs/ 4.22 + cp -r $src $install/usr/share/TeXmacs/fonts 4.23 + find $install -type f -exec chmod 644 '{}' \; 4.24 +} 4.25 4.26 -# Rules to gen a SliTaz package suitable for Tazpkg. 4.27 -genpkg_rules() 4.28 -{ 4.29 - mkdir -p $fs/usr/share/TeXmacs/ 4.30 - cp -a $src $fs/usr/share/TeXmacs/fonts 4.31 +genpkg_rules() { 4.32 + copy @std 4.33 }
5.1 --- a/abiword/receipt Thu Mar 15 12:17:34 2018 +0100 5.2 +++ b/abiword/receipt Thu Mar 15 20:43:55 2018 +0200 5.3 @@ -3,29 +3,29 @@ 5.4 PACKAGE="abiword" 5.5 VERSION="3.0.2" 5.6 CATEGORY="office" 5.7 -SHORT_DESC="Light and speed word processing application." 5.8 +SHORT_DESC="Light and speed word processing application" 5.9 MAINTAINER="pankso@slitaz.org" 5.10 LICENSE="GPL2" 5.11 -SUGGESTED="abiword-plugins" 5.12 +WEB_SITE="http://www.abisource.com/" 5.13 + 5.14 TARBALL="$PACKAGE-$VERSION.tar.gz" 5.15 -WEB_SITE="http://www.abisource.com/" 5.16 WGET_URL="http://www.abisource.com/downloads/abiword/$VERSION/source/$TARBALL" 5.17 -LOCALES="cs da de es fr hu id it pt ru sl sv zh" 5.18 +LOCALES="ar ca cs da de el en es fa fi fr hr hu id is it ja nb nl nn pl pt ro \ 5.19 +ru sl sv tr uk vi zh" 5.20 5.21 BUILD_DEPENDS="$DEPENDS gtk+3-dev pygobject-dev gobject-introspection-dev \ 5.22 pygobject3 fribidi-dev libglade-dev popt-dev libxml2-dev libart_lgpl-dev \ 5.23 libgsf-dev enchant-dev wv-dev libcroco-dev libboost-dev librsvg-dev gtk-doc \ 5.24 bison goffice-dev intltool gettext xorg-dev zlib-dev " 5.25 -# libgnomeprint-dev libgnomeprintui-dev libgnomecanvas-dev 5.26 -SPLIT="abiword abiword-dev abiword-plugins" 5.27 +# libgnomeprint-dev libgnomeprintui-dev libgnomecanvas-dev 5.28 +SPLIT="abiword-plugins abiword abiword-dev" 5.29 5.30 -# Rules to configure and make the package. 5.31 -compile_rules() 5.32 -{ 5.33 +compile_rules() { 5.34 sed -i 's|glib/gmacros.h|glib.h|' goffice-bits/goffice/app/goffice-app.h 5.35 sed -i 's|glib/gerror.h|glib.h|' src/af/util/xp/ut_go_file.h 5.36 sed -i 's|--no-undefined||' src/Makefile* 5.37 sed -i 's|cat \$(BUILTIN_STAMP)|& 2> /dev/null|' src/plugins/Makefile* 5.38 + 5.39 ./configure \ 5.40 --prefix=/usr \ 5.41 --infodir=/usr/share/info \ 5.42 @@ -36,73 +36,44 @@ 5.43 --disable-collab-backend-sugar \ 5.44 $CONFIGURE_ARGS && 5.45 make $MAKEFLAGS && 5.46 - make DESTDIR=$DESTDIR install 5.47 - 5.48 + make DESTDIR=$DESTDIR install || return 1 5.49 + 5.50 cd plugins 5.51 make DESTDIR=$DESTDIR install 5.52 } 5.53 5.54 -# Rules to gen a SliTaz package suitable for Tazpkg. 5.55 -genpkg_rules() 5.56 -{ 5.57 +genpkg_rules() { 5.58 case $PACKAGE in 5.59 - abiword) 5.60 - TAGS="word doc office" 5.61 - DEPENDS="gtk+3 fribidi libglade popt libxml2 libart_lgpl \ 5.62 + abiword-plugins) 5.63 + copy plugins/*.so 5.64 + CAT="office|extra plugins: MSWord, OpenDocument, Wikidepia, etc." 5.65 + DEPENDS="abiword glib readline xorg-libXdamage fribidi libxslt" 5.66 + TAGS="doc odf docx" 5.67 + ;; 5.68 + abiword) 5.69 + copy @std @rm 5.70 + TAGS="word doc office" 5.71 + DEPENDS="gtk+3 fribidi libglade popt libxml2 libart_lgpl \ 5.72 libgsf glib enchant wv xorg-libXdamage gcc-lib-base \ 5.73 librsvg goffice glibc-locale libffi" 5.74 - SUGGESTED="abiword-plugins" 5.75 - mkdir -p $fs/usr/share/pixmaps $fs/usr/lib/abiword-2.8/plugins $fs/usr/share/icons 5.76 + SUGGESTED="abiword-plugins" 5.77 5.78 - cp -a $install/usr/bin $fs/usr 5.79 - cp -a $install/usr/lib/*.so $fs/usr/lib 5.80 + # Non-standard locale use: get all official SliTaz locales 5.81 + rm $fs/usr/share/abiword-*/strings/* 5.82 + rm $fs/usr/share/abiword-*/system.profile-* 5.83 + rm $fs/usr/share/abiword-*/templates/normal.awt-* 5.84 5.85 - cp -a $install/usr/share/abiword-* $fs/usr/share 5.86 - 5.87 - # Non standard pixmap 5.88 - 5.89 - # fix error when abiword is run in command line 5.90 - ln -sf /usr/share/pixmaps/abiword.png $fs/usr/share/icons/abiword_48.png 5.91 - 5.92 - # Non-standard locale use: get all official SliTaz locales 5.93 - rm $fs/usr/share/abiword-*/strings/* 5.94 - rm $fs/usr/share/abiword-*/templates/* 5.95 - rm $fs/usr/share/abiword-*/system.pro* 5.96 - 5.97 - for LOCALE in $LOCALES; do 5.98 - cp $install/usr/share/abiword-*/strings/$LOCALE*.strings \ 5.99 - $fs/usr/share/abiword-*/strings/ 5.100 - # id locale not complete in sources 5.101 - if [ "$LOCALE" != "id" ]; then 5.102 + for LOCALE in $LOCALES; do 5.103 + cp $install/usr/share/abiword-*/strings/$LOCALE*.strings \ 5.104 + $fs/usr/share/abiword-*/strings/ 5.105 + cp $install/usr/share/abiword-*/system.profile-$LOCALE* \ 5.106 + $fs/usr/share/abiword-*/ 5.107 cp $install/usr/share/abiword-*/templates/normal.awt-$LOCALE* \ 5.108 - $fs/usr/share/abiword-*/templates/ 5.109 - cp $install/usr/share/abiword-*/system.profile-$LOCALE* \ 5.110 - $fs/usr/share/abiword-*/ 5.111 - fi 5.112 - done 5.113 - 5.114 - cp $install/usr/share/abiword-*/templates/*.awt $fs/usr/share/abiword-*/templates/ 5.115 - cp $install/usr/share/abiword-*/system.profile $fs/usr/share/abiword-*/ 5.116 - ;; 5.117 - abiword-dev) 5.118 - CAT="development|Abiword devel files" 5.119 - DEPENDS="pkg-config" 5.120 - mkdir -p $fs/usr/lib/abiword-2.8/plugins 5.121 - cp -a $install/usr/lib/*.*a $fs/usr/lib 5.122 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 5.123 - cp -a $install/usr/lib/abiword-*/plugins/*.*a \ 5.124 - $fs/usr/lib/abiword-2.8/plugins 5.125 - cp -a $install/usr/include $fs/usr 5.126 - ;; 5.127 - abiword-plugins) 5.128 - CAT="office|Extra plugins for Abiword (MSWord, OpenDocument, Wikidepia, etc)." 5.129 - TAGS="doc odf docx" 5.130 - DEPENDS="abiword glib readline xorg-libXdamage fribidi libxslt" 5.131 - mkdir -p $fs/usr/lib/abiword-2.8/plugins $fs/usr/share 5.132 - 5.133 - cp -a $install/usr/lib/abiword-*/plugins/*.so \ 5.134 - $fs/usr/lib/abiword-2.8/plugins 5.135 - 5.136 - ;; 5.137 + $fs/usr/share/abiword-*/templates/ 5.138 + done 2>/dev/null 5.139 + ;; 5.140 + abiword-dev) 5.141 + copy @dev 5.142 + ;; 5.143 esac 5.144 }
6.1 --- a/adeskbar/receipt Thu Mar 15 12:17:34 2018 +0100 6.2 +++ b/adeskbar/receipt Thu Mar 15 20:43:55 2018 +0200 6.3 @@ -1,4 +1,4 @@ 6.4 -# SliTaz package receipt. 6.5 +# SliTaz package receipt v2. 6.6 6.7 PACKAGE="adeskbar" 6.8 VERSION="0.4.3" 6.9 @@ -7,25 +7,27 @@ 6.10 MAINTAINER="gokhlayeh@slitaz.org" 6.11 LICENSE="GPL3" 6.12 WEB_SITE="https://launchpad.net/adeskbar" 6.13 + 6.14 TARBALL="$PACKAGE-$VERSION.tar.bz2" 6.15 WGET_URL="http://download.tuxfamily.org/$PACKAGE/sources/$TARBALL" 6.16 6.17 -DEPENDS="python pygtk pycairo gnome-menus python-xdg" 6.18 -SUGGESTED="python-xlib dbus-python python-pyalsaaudio" 6.19 +compile_rules() { 6.20 + mkdir -p \ 6.21 + $install/usr/share/adeskbar/ \ 6.22 + $install/usr/bin/ \ 6.23 + $install/usr/share/pixmaps/ \ 6.24 + $install/usr/share/applications/ 6.25 + cp -r $src/src/* $install/usr/share/adeskbar/ 6.26 + cp $src/src/images/adeskbar.png $install/usr/share/pixmaps/ 6.27 + cp $src/adeskbar.desktop $install/usr/share/applications/ 6.28 + cp $src/adeskbar.sh $install/usr/bin/adeskbar 6.29 6.30 -# Rules to gen a SliTaz package suitable for Tazpkg. 6.31 -genpkg_rules() 6.32 -{ 6.33 - mkdir -p \ 6.34 - $fs/usr/share/adeskbar \ 6.35 - $fs/usr/bin \ 6.36 - $fs/usr/share/pixmaps \ 6.37 - $fs/usr/share/applications 6.38 - cp -a $src/src/* $fs/usr/share/adeskbar 6.39 - cp $src/src/images/adeskbar.png $fs/usr/share/pixmaps 6.40 - cp $src/adeskbar.desktop $fs/usr/share/applications 6.41 - cp $src/adeskbar.sh $fs/usr/bin/adeskbar 6.42 - chown -R root:root $fs 6.43 - find $fs -type f -name '*.png' -exec chmod 644 \{\} \; 6.44 + find $install -type f -name '*.py' -exec chmod 755 '{}' \; 6.45 + find $install -type f -name '*.png' -exec chmod 644 '{}' \; 6.46 } 6.47 6.48 +genpkg_rules() { 6.49 + copy @std 6.50 + DEPENDS="python pygtk pycairo gnome-menus python-xdg" 6.51 + SUGGESTED="python-xlib dbus-python python-pyalsaaudio" 6.52 +}
7.1 --- a/adobe-air-sdk/receipt Thu Mar 15 12:17:34 2018 +0100 7.2 +++ b/adobe-air-sdk/receipt Thu Mar 15 20:43:55 2018 +0200 7.3 @@ -1,4 +1,4 @@ 7.4 -# SliTaz package receipt. 7.5 +# SliTaz package receipt v2. 7.6 7.7 PACKAGE="adobe-air-sdk" 7.8 VERSION="2.6" 7.9 @@ -7,34 +7,37 @@ 7.10 MAINTAINER="al.bobylev@gmail.com" 7.11 LICENSE="custom" 7.12 WEB_SITE="http://get.adobe.com/air" 7.13 + 7.14 TARBALL="$PACKAGE-$VERSION.tar.bz2" 7.15 WGET_URL="http://airdownload.adobe.com/air/lin/download/$VERSION/AdobeAIRSDK.tbz2" 7.16 7.17 -DEPENDS="nss gtk+ libxslt" 7.18 +compile_rules() { 7.19 + mkdir -p \ 7.20 + $install/opt/$PACKAGE/ \ 7.21 + $install/usr/share/licenses/$PACKAGE/ \ 7.22 + $install/usr/share/doc/$PACKAGE-$VERSION/ 7.23 + cp -a $src/* $install/opt/$PACKAGE/ 7.24 + ln -s "../../../../opt/$PACKAGE/AIR SDK license.pdf" $install/usr/share/licenses/$PACKAGE/ 7.25 + ln -s "../../../../opt/$PACKAGE/AIR SDK Readme.txt" $install/usr/share/doc/$PACKAGE-$VERSION/ 7.26 + ln -s "../../../../opt/$PACKAGE/samples" $install/usr/share/doc/$PACKAGE-$VERSION/ 7.27 + ln -s "../../../../opt/$PACKAGE/templates" $install/usr/share/doc/$PACKAGE-$VERSION/ 7.28 7.29 -# Rules to gen a SliTaz package suitable for Tazpkg. 7.30 -genpkg_rules() 7.31 -{ 7.32 - mkdir -p \ 7.33 - $fs/opt/$PACKAGE \ 7.34 - $fs/usr/share/licenses/$PACKAGE \ 7.35 - $fs/usr/share/doc/$PACKAGE 7.36 - cp -a $src/* $fs/opt/$PACKAGE 7.37 - ln -s "../../../../opt/$PACKAGE/AIR SDK license.pdf" $fs/usr/share/licenses/$PACKAGE 7.38 - ln -s "../../../../opt/$PACKAGE/AIR SDK Readme.txt" $fs/usr/share/doc/$PACKAGE 7.39 - ln -s "../../../../opt/$PACKAGE/samples" $fs/usr/share/doc/$PACKAGE 7.40 - ln -s "../../../../opt/$PACKAGE/templates" $fs/usr/share/doc/$PACKAGE 7.41 + chown -Rch root:root $install 7.42 + chmod -Rc u+w $install 7.43 } 7.44 7.45 -post_install() 7.46 -{ 7.47 +genpkg_rules() { 7.48 + copy @std 7.49 + DEPENDS="nss gtk+ libxslt" 7.50 +} 7.51 + 7.52 +post_install() { 7.53 cat >> $1/etc/profile <<EOT 7.54 export AIR_HOME=/opt/$PACKAGE 7.55 export PATH="\$PATH:\$AIR_HOME/bin" 7.56 EOT 7.57 } 7.58 7.59 -post_remove() 7.60 -{ 7.61 +post_remove() { 7.62 sed -i '/AIR_HOME/d' $1/etc/profile 7.63 }
8.1 --- a/aescrypt/receipt Thu Mar 15 12:17:34 2018 +0100 8.2 +++ b/aescrypt/receipt Thu Mar 15 20:43:55 2018 +0200 8.3 @@ -1,30 +1,27 @@ 8.4 -# SliTaz package receipt. 8.5 +# SliTaz package receipt v2. 8.6 8.7 PACKAGE="aescrypt" 8.8 VERSION="3.10" 8.9 CATEGORY="security" 8.10 -SHORT_DESC="AES Crypt is a file encryption software." 8.11 +SHORT_DESC="AES Crypt is a file encryption software" 8.12 MAINTAINER="slaxemulator@gmail.com" 8.13 LICENSE="PublicDomain" 8.14 WEB_SITE="https://www.aescrypt.com/" 8.15 + 8.16 TARBALL="$PACKAGE-$VERSION.tgz" 8.17 WGET_URL="${WEB_SITE}download/v3/linux/$TARBALL" 8.18 8.19 -DEPENDS="glibc-base" 8.20 +compile_rules() { 8.21 + cd $src/src 8.22 + make || return 1 8.23 8.24 -# Rules to configure and make the package. 8.25 -compile_rules() 8.26 -{ 8.27 - cd $src/src 8.28 - make 8.29 + install -Dm755 $src/src/aescrypt $install/usr/bin/aescrypt 8.30 + install -Dm755 $src/src/aescrypt_keygen $install/usr/bin/aescrypt_keygen 8.31 8.32 cook_pick_manpages $src/man/aescrypt.1 8.33 } 8.34 8.35 -# Rules to gen a SliTaz package suitable for Tazpkg. 8.36 -genpkg_rules() 8.37 -{ 8.38 - mkdir -p $fs/usr/bin 8.39 - cp -a $src/src/aescrypt $fs/usr/bin 8.40 - cp -a $src/src/aescrypt_keygen $fs/usr/bin 8.41 +genpkg_rules() { 8.42 + copy @std 8.43 + DEPENDS="glibc-base" 8.44 }
9.1 --- a/afio/receipt Thu Mar 15 12:17:34 2018 +0100 9.2 +++ b/afio/receipt Thu Mar 15 20:43:55 2018 +0200 9.3 @@ -1,29 +1,24 @@ 9.4 -# SliTaz package receipt. 9.5 +# SliTaz package receipt v2. 9.6 9.7 PACKAGE="afio" 9.8 VERSION="2.5.1" 9.9 CATEGORY="system-tools" 9.10 -SHORT_DESC="Archiver program for Linux/UNIX." 9.11 +SHORT_DESC="Archiver program for Linux/UNIX" 9.12 MAINTAINER="erjo@slitaz.org" 9.13 LICENSE="LGPL" 9.14 WEB_SITE="http://members.chello.nl/~k.holtman/afio.html" 9.15 + 9.16 TARBALL="$PACKAGE-$VERSION.tgz" 9.17 WGET_URL="http://members.chello.nl/~k.holtman/$TARBALL" 9.18 9.19 -DEPENDS="" 9.20 -BUILD_DEPENDS="" 9.21 +compile_rules() { 9.22 + make || return 1 9.23 9.24 -# Rules to configure and make the package. 9.25 -compile_rules() 9.26 -{ 9.27 - make 9.28 + install -Dm755 $src/afio $install/usr/bin/afio 9.29 9.30 cook_pick_manpages $src/afio.1 9.31 } 9.32 9.33 -# Rules to gen a SliTaz package suitable for Tazpkg. 9.34 -genpkg_rules() 9.35 -{ 9.36 - mkdir -p $fs/usr/bin 9.37 - cp -a $src/afio $fs/usr/bin 9.38 +genpkg_rules() { 9.39 + copy @std 9.40 }
10.1 --- a/airgeddon/receipt Thu Mar 15 12:17:34 2018 +0100 10.2 +++ b/airgeddon/receipt Thu Mar 15 20:43:55 2018 +0200 10.3 @@ -1,22 +1,21 @@ 10.4 -# SliTaz package receipt. 10.5 +# SliTaz package receipt v2. 10.6 10.7 PACKAGE="airgeddon" 10.8 VERSION="3.31" 10.9 HASH="5d18ec5583c8870fd92e7e60bd50af3e6175b6b5" 10.10 CATEGORY="network" 10.11 -SHORT_DESC="Multi-use bash script for Linux systems to audit wireless networks." 10.12 +SHORT_DESC="Multi-use bash script for Linux systems to audit wireless networks" 10.13 MAINTAINER="pascal.bellard@slitaz.org" 10.14 LICENSE="GPL2" 10.15 +WEB_SITE="https://github.com/v1s1t0r1sh3r3/airgeddon" 10.16 + 10.17 TARBALL="$PACKAGE-$HASH.sh" 10.18 -WEB_SITE="https://github.com/v1s1t0r1sh3r3/airgeddon" 10.19 WGET_URL="$WEB_SITE/raw/$HASH/$PACKAGE.sh" 10.20 10.21 -DEPENDS="bash iw aircrack-ng curl crunch mdk3" 10.22 - 10.23 -# Rules to gen a SliTaz package suitable for Tazpkg. 10.24 -genpkg_rules() 10.25 -{ 10.26 - mkdir -p $fs/usr/sbin 10.27 - cp -a $src/$TARBALL $fs/usr/sbin/$PACKAGE 10.28 - chmod +x $fs/usr/sbin/$PACKAGE 10.29 +compile_rules() { 10.30 + install -Dm755 $src/$TARBALL $install/usr/sbin/airgeddon 10.31 } 10.32 +genpkg_rules() { 10.33 + copy @std 10.34 + DEPENDS="bash iw aircrack-ng curl crunch mdk3" 10.35 +}