wok view Geomyidae/receipt @ rev 19264

Compress manpages (in $install/usr/share/man/...)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Jul 04 00:54:49 2016 +0300 (2016-07-04)
parents dfc51ce7954a
children 11b5e93cb5f2
line source
1 # SliTaz package receipt.
3 PACKAGE="Geomyidae"
4 VERSION="0.26.1"
5 CATEGORY="network"
6 SHORT_DESC="Geomyidae is a daemon for serving the Gopher protocol."
7 MAINTAINER="allan316@gmail.com"
8 LICENSE="MIT"
9 SOURCE="geomyidae"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.r-36.net"
12 WGET_URL="$WEB_SITE/src/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 # Move man page to the right place
18 sed -i 's|/man/|/share&|' $src/Makefile
20 make && make DESTDIR=$DESTDIR install
22 cook_compress_manpages
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr $fs/var/gopher
29 cp -a $src/index.gph $fs/var/gopher/
30 cp -a $install/usr/bin $fs/usr
31 }