add Added Files:
[hdw-repos/packages.git] / demian / enlightenment / enlightenment
diff --git a/demian/enlightenment/enlightenment b/demian/enlightenment/enlightenment
new file mode 100755 (executable)
index 0000000..3232f4a
--- /dev/null
@@ -0,0 +1,47 @@
+# HDW Linux enlightenment
+#
+# [M] Jonathan J. Vargas demian@hackdaworld.dyndns.org
+# [I] 
+# [V] 0.16.5
+# [S] 4 5
+# [D] enlightenment-0.16.5.tar.gz http://easynews.dl.sourceforge.net/sourceforge/enlightenment/
+# [D] fnlib-0.5.tar.gz http://easynews.dl.sourceforge.net/sourceforge/enlightenment/
+# [D] imlib2-1.0.6.tar.gz http://telia.dl.sourceforge.net/sourceforge/enlightenment/
+# [D] freetype-1.3.1.tar.gz http://unc.dl.sourceforge.net/sourceforge/freetype/
+
+# Notes: still testing
+
+custmain()
+{
+
+    echo building freetype (older version - for compatibility)
+    tar -xvzf $hdw_home_dir/download/$dir/$package/freetype-1.3.1.tar.gz
+    cd freetype-1.3.1 ;
+    ./configure $confopt --prefix=/usr; make $make_conf ;
+    make $install_conf install ; cd ..
+
+    echo building fnlib
+    tar -xvzf $hdw_home_dir/download/$dir/$package/fnlib-0.5.tar.gz
+    cd fnlib-0.5 ; 
+    ./configure $confopt --prefix=/usr; make $make_conf ; 
+    make $install_conf install ; cd ..
+
+    echo "building imlib2 (new enlightenm. sources already bring it)"
+    tar -xvzf $hdw_home_dir/download/$dir/$package/imlib2-1.0.6.tar.gz
+    cd imlib2-1.0.6 ; 
+    ./configure $confopt --prefix=/usr; make $make_conf ;
+    make $install_conf install ; cd ..
+
+    echo "building enlightenment =)"
+    tar -xvzf $hdw_home_dir/download/$dir/$package/enlightenment-0.16.5.tar.gz
+    cd enlightenment-0.16.5 ;
+    ./configure $confopt ; make $make_conf ;
+    make $install_conf install ;
+
+    echo making some final changes
+    ln -sf $prefix/enlightenment/bin $prefix/enlightenment
+    ln -sf $prefix/enlightenment/enlightenment /usr/
+               
+
+    echo -e "\ndone :)"
+}