You are not logged in.
Pages: 1
I have made two pkgbuild for fox-1.5.6 and for fxdesktop 0.6.1
i had to make one for fox-1.5.6 even though we have a verion of fox 1.4 I think as fxdesktop depends on the later version but in the depends variable I can not get it to accept the version of fox, but will accept fox.
the conundrum id that it the other version is used the build will fail.. here are the pkgbuilds... fox-1.5.6
# Contributor: mpie <michael.kyne-phillips1@ntlworld.com>
pkgname=fox
pkgver=1.5.6
pkgrel=1
pkgdesc="Free Objects for X: GUI Toolkit for C++"
url="http://www.fox-toolkit.org/"
depends=('cups' 'x-server' 'bzip2')
source=(http://www.fox-toolkit.org/ftp/$pkgname-$pkgver.tar.gz)
md5sums=('09980d90c52a8fce51ebb7fe0aafb59a')
build() {
cd $startdir/src/$pkgname-$pkgver
CPPFLAGS="$CPPFLAGS -I/usr/include/freetype2"
./configure --prefix=/usr
--enable-release
--with-xft=yes
--enable-cups
--with-opengl=yes
make || return 1
make DESTDIR=$startdir/pkg/ install
cd $startdir/src/$pkgname-$pkgver/tests
make ControlPanel || return 1
cp $startdir/src/$pkgname-$pkgver/tests/.libs/ControlPanel $startdir/pkg/usr/bin/
}
fxdesktop...
Contributor: mpie <michael.kyne-phillips1@ntlworld.com>
pkgname=fxdesktop
pkgver=0.1.6
pkgrel=1
pkgdesc="Fox dektop enviroment"
url="http://www.fifthplanet.net/"
depends=('fox')
source=(http://www.fifthplanet.net/files/$pkgname-$pkgver.tar.bz2)
md5sums=('4f2c0ef732027362ead5742c5ae9f0d9')
build() {
cd $startdir/src/$pkgname-$pkgver
mkdir $startdir/pkg/usr
mkdir $startdir/pkg/usr/bin
./gb --prefix=/usr
--with-xft=yes
--enable-cups
--with-opengl=yes
./gb || return 1
./gb install --prefix=$startdir/pkg/usr
}
they both work and install fine but the depends could be a problem if used without payning attention any ideas?
Offline
For fxdesktop use:
depends=('fox>=1.5.6')
EDIT: Other suggestion: As fox 1.5.6 is unstable (according to fox dev), you can change the name of your fox package to fox-devel. Then use depends=('fox-devel').
Offline
DOH...... :oops:
I has tried that but without the =......
thank you
Offline
I make that error at first. You need the = sign.
They can also include a version requirement of the form name<>version, where <> is one of these three comparisons: >= (greater than equal to), <= (less than or equal to), or = (equal to).
Offline
Pages: 1