From 70fc9de11840851fb87925e436e498302d4701ca Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 30 Jun 2013 14:35:35 -0400 Subject: Update packaging to SPF 2.0 and opkhelper 3.0. --- (limited to 'build') diff --git a/build b/build index 1289978..bc2cfba 100755 --- a/build +++ b/build @@ -1,19 +1,11 @@ -#! /usr/bin/make -f +#!/usr/bin/make -f -PKGS = gettext gettext-dev gettext-doc +build: + oh-autoconfigure -s src/gettext-runtime -B src/gettext-runtime -- \ + --enable-threads --disable-java + oh-autobuild -s src/gettext-runtime -B src/gettext-runtime -$(PKGS): gettext.buildstamp - -.SILENT: gettext.buildstamp -gettext.buildstamp: - cd src/gettext-runtime && \ - ./configure --prefix=/usr \ - --enable-threads --disable-java && \ - make && make DESTDIR=$$(pwd)/../../dest install - oh-strip -gl /usr/lib/libasprintf.so.0.0.0 - oh-strip -g /usr/bin/gettext /usr/bin/ngettext /usr/bin/envsubst - oh-installfiles $(PKGS) - oh-installdocs gettext - oh-gencontrol $(PKGS) - oh-buildopk $(PKGS) - touch gettext.buildstamp +install: build + oh-autoinstall -s src/gettext-runtime -B src/gettext-runtime + oh-strip -k + oh-installfiles -- cgit v0.9.1