diff options
Diffstat (limited to 'extra/wxgtk')
-rw-r--r-- | extra/wxgtk/.md5sum | 2 | ||||
-rwxr-xr-x | extra/wxgtk/Pkgfile | 23 |
2 files changed, 13 insertions, 12 deletions
diff --git a/extra/wxgtk/.md5sum b/extra/wxgtk/.md5sum index 0e5cf6902..a32b3f4db 100644 --- a/extra/wxgtk/.md5sum +++ b/extra/wxgtk/.md5sum @@ -1,3 +1,3 @@ 569bc725e6d866e94c81ff649464b46e glib-2.21.patch 325dba65152bc0cfbc1400a2bf54508e overflow.patch -d9638db3f3a9ce36c900a52f8c0087c6 wxGTK-2.8.10.tar.gz +88b867bc118a183af56efc67014bdf27 wxGTK-2.8.10.tar.bz2 diff --git a/extra/wxgtk/Pkgfile b/extra/wxgtk/Pkgfile index fabe0af78..cacfdd019 100755 --- a/extra/wxgtk/Pkgfile +++ b/extra/wxgtk/Pkgfile @@ -2,30 +2,31 @@ # URL: http://wxwidgets.org # Maintainer: NuTyX core team # Packager: thierryn1 at hispeed dot ch -# Depends on: gtk mesa3d +# Depends on: gtk, mesa3d name=wxgtk version=2.8.10 release=1 -source=(http://downloads.sourceforge.net/wxwindows/wxGTK-${version}.tar.gz\ +source=(http://downloads.sourceforge.net/wxwindows/wxGTK-${version}.tar.bz2 \ overflow.patch glib-2.21.patch) build() { - # build package export LDFLAGS="$LDFLAGS -L/usr/X11R6/lib" cd wxGTK-$version + patch -p4 < ../overflow.patch patch -Np1 -i ../glib-2.21.patch + ./configure --prefix=/usr\ - --with-gtk=2 \ - --libdir=/usr/lib \ - --with-opengl \ - --enable-unicode \ - --without-gnomeprint \ - --disable-optimize \ - --mandir=/usr/share/man\ - --infodir=/usr/share/info + --with-gtk=2 \ + --libdir=/usr/lib \ + --with-opengl \ + --enable-unicode \ + --without-gnomeprint \ + --disable-optimize \ + --mandir=/usr/share/man\ + --infodir=/usr/share/info make make DESTDIR=$PKG install cd contrib |