wok-next view wxwidgets/receipt @ rev 21358
gobby: removed sed command from compile_rules
author | Hans-G?nter Theisgen |
---|---|
date | Sun Apr 12 07:08:52 2020 +0100 (2020-04-12) |
parents | 21f2e35d9068 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="wxwidgets"
4 VERSION="3.0.4"
5 CATEGORY="x-window"
6 SHORT_DESC="Cross-platform GUI Library"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="LGPL"
9 WEB_SITE="http://www.wxwidgets.org/"
11 TARBALL="wxWidgets-$VERSION.tar.bz2"
12 WGET_URL="https://github.com/wxWidgets/wxWidgets/releases/download/v$VERSION/$TARBALL"
13 TARBALL_SHA1="246561a73ec5b9a5a7aaaaed46b64515dc9039ab"
15 BUILD_DEPENDS="zlib-dev libpng-dev libjpeg-turbo-dev tiff-dev xz-dev expat-dev \
16 gtk2-dev glib-dev xorg-libXxf86vm-dev libsm-dev mesa-dev glu-dev sdl2-dev \
17 libnotify-dev gstreamer1-dev gst1-plugins-base-dev cppunit-dev"
18 SPLIT="$PACKAGE-dev"
20 DEPENDS_std="expat gdk-pixbuf glib gst1-plugins-base gstreamer1 gtk2 libcairo \
21 libjpeg-turbo libnotify libpng libsdl2 libsm libtiff libx11 libxxf86vm mesa \
22 pango python zlib"
24 COOKOPTS="force-arch" # different setup.h
26 compile_rules() {
27 ./configure \
28 --with-sdl \
29 --with-opengl \
30 --enable-unicode \
31 --enable-aui \
32 --enable-no_deps \
33 --enable-shared \
34 --enable-sound \
35 --enable-mediactrl \
36 --disable-rpath \
37 $CONFIGURE_ARGS &&
38 make &&
39 make DESTDIR=$install install || return 1 # keep DESTDIR
41 fix symlinks
42 }
44 PROVIDE_std="wxWidgets"
45 PROVIDE_dev="wxWidgets-dev"