wok-next view xorg-libXpm/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | f48456621a9d |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="xorg-libXpm"
4 VERSION="3.5.12"
5 CATEGORY="x-window"
6 SHORT_DESC="XPM format pixmap library"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://www.x.org/wiki/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/x/x7lib.html"
11 REPOLOGY="libxpm"
13 TARBALL="libXpm-$VERSION.tar.bz2"
14 WGET_URL="$XORG_MIRROR/lib/$TARBALL"
16 BUILD_DEPENDS="xorg-libXt-dev xorg-libXext-dev xorg-libSM-dev \
17 util-linux-uuid-dev gettext-dev"
18 SPLIT="$PACKAGE-util $PACKAGE-dev"
20 compile_rules() {
21 ./configure $CONFIGURE_ARGS &&
22 fix libtool &&
23 make &&
24 make install
25 }
27 genpkg_rules() {
28 case $PACKAGE in
29 *-libXpm)
30 copy *.so*
31 DEPENDS="xorg-libX11"
32 ;;
33 *-util)
34 copy bin/
35 CAT="x-window|utilities"
36 DEPENDS="xorg-libX11 xorg-libXext xorg-libXpm xorg-libXt"
37 ;;
38 *-dev)
39 copy @dev
40 DEPENDS="xorg-libXpm xorg-libXpm-util \
41 xorg-libX11-dev"
42 ;;
43 esac
44 }