summaryrefslogtreecommitdiffstats
path: root/extra/numptyphysics/Pkgfile
diff options
context:
space:
mode:
authorOlivier DOSSMANN <blankoworld@wanadoo.fr>2009-11-18 09:27:24 +0100
committerOlivier DOSSMANN <blankoworld@wanadoo.fr>2009-11-18 09:27:24 +0100
commite4ee11a8fa68f9a1218480f96c023cced32be83f (patch)
treeb8f173cdee37aeff898c8e07583fbb9a3cb8cad2 /extra/numptyphysics/Pkgfile
parent8a0f5d1f18166c81d557276fe4f56ae60477189d (diff)
downloadnutyx-pakxe-e4ee11a8fa68f9a1218480f96c023cced32be83f.tar.gz
nutyx-pakxe-e4ee11a8fa68f9a1218480f96c023cced32be83f.tar.bz2
nutyx-pakxe-e4ee11a8fa68f9a1218480f96c023cced32be83f.tar.xz
nutyx-pakxe-e4ee11a8fa68f9a1218480f96c023cced32be83f.zip
Ajout de numptyphysics-svn#115-1
Diffstat (limited to 'extra/numptyphysics/Pkgfile')
-rw-r--r--extra/numptyphysics/Pkgfile30
1 files changed, 30 insertions, 0 deletions
diff --git a/extra/numptyphysics/Pkgfile b/extra/numptyphysics/Pkgfile
new file mode 100644
index 000000000..d37b93a32
--- /dev/null
+++ b/extra/numptyphysics/Pkgfile
@@ -0,0 +1,30 @@
+# Description: Un jeu de dessin/puzzle dans le style de Crayon Physics
+# URL: https://garage.maemo.org/projects/numptyphysics/
+# Packager: Blankoworld <blankoworld at wanadoo dot fr>
+# Depends on: svn cyrus-sasl sdl_ttf automake
+
+name=numptyphysics-svn
+version=115
+release=1
+realname=numptyphysics
+source=( $realname.desktop )
+
+build() {
+ cd $SRC
+
+ # Récupération du dépôt SVN
+ svn checkout https://garage.maemo.org/svn/numptyphysics/trunk/ --config-dir=$PKGMK_ROOT/svn_config/ -r $version $name
+
+ cd $name
+
+ # Compilation
+ aclocal
+ ./autogen.sh
+ ./configure --prefix=/usr
+ make
+ make DESTDIR=$PKG install
+
+ # Ajout d'un raccourci dans le menu
+ mkdir -p $PKG/usr/share/applications
+ install -m 644 ../$realname.desktop $PKG/usr/share/applications/
+}