wok-current view rawstudio/receipt @ rev 13688

Add mdocml (very light man formatter), mdocml-extra, mdocml-cgi, mdocml-man, mdocml-dev. Now we can use 'mandoc /usr/share/man/man1/xterm.1 | less' to see well formatted manpage, but we still need 'man' wrapper to mandoc to search and page man pages. Cgi and other packages yet not tested at all.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Dec 09 17:07:54 2012 +0000 (2012-12-09)
parents 940b5937e496
children 380ffe05937a
line source
1 # SliTaz package receipt.
3 PACKAGE="rawstudio"
4 VERSION="1.2"
5 CATEGORY="graphics"
6 SHORT_DESC="An open source raw-image converter written in GTK+"
7 MAINTAINER="slaxemulator@gmail.com"
8 DEPENDS="desktop-file-utils dbus exiv2 GConf gtk+ lcms jpeg libjpeg tiff libxml2"
9 BUILD_DEPENDS="exiv2-dev GConf-dev gtk+-dev dbus-dev lcms-dev jpeg-dev tiff-dev libxml2-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://rawstudio.org/"
12 WGET_URL="http://rawstudio.org/files/release/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 export LDFLAGS="-Wl,--copy-dt-needed-entries -lX11"
19 export PKG_CONFIG_PATH="/usr/lib/pkgconfig"
20 patch -p1 -i $stuff/rawstudio-const.patch
21 ./configure \
22 --prefix=/usr \
23 --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make && make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share
33 cp -a $_pkg/usr/bin $fs/usr
34 cp -a $_pkg/usr/share/applications $fs/usr/share
35 cp -a $_pkg/usr/share/icons $fs/usr/share
36 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
37 cp -a $_pkg/usr/share/rawstudio $fs/usr/share
38 }