wok-6.x annotate l3afpad/receipt @ rev 18484
Up tazpkg-test(846)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Oct 09 13:15:59 2015 +0300 (2015-10-09) |
parents | ce9148142ee8 |
children | 49faf1ce59f2 |
rev | line source |
---|---|
pascal@15721 | 1 # SliTaz package receipt. |
pascal@15721 | 2 |
pascal@15721 | 3 PACKAGE="l3afpad" |
pascal@15721 | 4 VERSION="0.8.18.1.10" |
pascal@15721 | 5 CATEGORY="utilities" |
pascal@15721 | 6 SHORT_DESC="Simple text editor forked from Leafpad, supports GTK+ 3.x" |
pascal@15721 | 7 MAINTAINER="al.bobylev@gmail.com" |
pascal@15721 | 8 LICENSE="LGPL2.1" |
pascal@15721 | 9 WEB_SITE="http://www.calno.com/l3afpad/" |
pascal@15721 | 10 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pascal@15721 | 11 WGET_URL="http://www.calno.com/$PACKAGE/$TARBALL" |
al@17501 | 12 TAGS="text-editor" |
pascal@15721 | 13 |
pascal@15721 | 14 DEPENDS="gtk+3" |
pascal@15721 | 15 BUILD_DEPENDS="gtk+3-dev" |
pascal@15721 | 16 |
pascal@15721 | 17 # Rules to configure and make the package. |
pascal@15721 | 18 compile_rules() |
pascal@15721 | 19 { |
pascal@15721 | 20 chmod +x $src/install-sh |
pascal@15721 | 21 ./configure \ |
pascal@15721 | 22 --enable-gtkgrid \ |
pascal@15721 | 23 --enable-search-history \ |
pascal@15721 | 24 $CONFIGURE_ARGS && |
pascal@15721 | 25 make && |
pascal@15721 | 26 make install |
pascal@15721 | 27 } |
pascal@15721 | 28 |
pascal@15721 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@15721 | 30 genpkg_rules() |
pascal@15721 | 31 { |
pascal@15721 | 32 mkdir -p $fs/usr/share/pixmaps |
pascal@15721 | 33 cp -a $install/usr/bin $fs/usr |
pascal@15721 | 34 cp -a $install/usr/share/pixmaps/*.png $fs/usr/share/pixmaps |
pascal@15721 | 35 } |