summaryrefslogtreecommitdiffstats
path: root/extra/libixp/Pkgfile
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-11 17:05:27 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-11 17:05:27 +0200
commitf01a91105259c9ca2e3affc6855e650bbb90aee2 (patch)
treecb64cce885581efa2a09babe603787301b0570ca /extra/libixp/Pkgfile
parentd5cdb39db79a8918a1c75722fe47d58c0517ac45 (diff)
downloadnutyx-pakxe-f01a91105259c9ca2e3affc6855e650bbb90aee2.tar.gz
nutyx-pakxe-f01a91105259c9ca2e3affc6855e650bbb90aee2.tar.bz2
nutyx-pakxe-f01a91105259c9ca2e3affc6855e650bbb90aee2.tar.xz
nutyx-pakxe-f01a91105259c9ca2e3affc6855e650bbb90aee2.zip
Ajout de libixp#0.5-1
Diffstat (limited to 'extra/libixp/Pkgfile')
-rwxr-xr-xextra/libixp/Pkgfile27
1 files changed, 27 insertions, 0 deletions
diff --git a/extra/libixp/Pkgfile b/extra/libixp/Pkgfile
new file mode 100755
index 000000000..275b80cce
--- /dev/null
+++ b/extra/libixp/Pkgfile
@@ -0,0 +1,27 @@
+# Description:A standalone client/server 9p library
+# URL:http://www.suckless.org/libs/libixp.html
+# Maintainer: NuTyX packager team
+# Packager: lesibel at free dot fr
+# Depends on: dep1, dep2, dep3
+name=libixp
+version=0.5
+release=1
+source=(http://code.suckless.org/dl/libs/$name-$version.tar.gz)
+build() {
+ cd $name-$version
+ sed -i \
+ -e "/^PREFIX/s|=.*|= $PKG/pkg/usr|" \
+ -e "/^ ETC/s|=.*|= $PKG}/pkg/etc|" \
+ -e "/^CFLAGS/s|=|+=|" \
+ -e "/^LDFLAGS/s|=|+=|" \
+ config.mk || return 1
+
+ make || return 1
+ make DESTDIR=$PKG install || return 1
+
+ install -m644 -D ./libixp/LICENSE \
+ $PKG/usr/share/licenses/libixp/LICENSE
+
+}
+
+